Skip to content

Commit

Permalink
Debug: Ping the target after setting up the wg connection
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNilges committed Dec 8, 2024
1 parent ae1d8b5 commit 647da31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-to-k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
sudo ip address add dev wg1 ${{ secrets.WIREGUARD_OVERLAY_NETWORK_IP }} peer ${{ secrets.SSH_TARGET_IP }}
sudo wg set wg1 listen-port 48123 private-key privatekey peer ${{ secrets.WIREGUARD_PEER_PUBLIC_KEY }} allowed-ips 0.0.0.0/0 endpoint ${{ secrets.WIREGUARD_ENDPOINT }}
sudo ip link set up dev wg1
# Ensure we can contact the target
ping ${{ secrets.SSH_TARGET_IP }} -w 4 || exit 1
- name: Deploy Helm Chart
run: |
Expand Down

0 comments on commit 647da31

Please sign in to comment.