Merge "Couple tiny fixes for deploy-env role"

This commit is contained in:
Zuul 2024-07-02 00:17:20 +00:00 committed by Gerrit Code Review
commit 8b67f87999
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
wg set client-wg listen-port 51820 private-key /root/wg-private-key peer {{ client_wg_public_key }} allowed-ips {{ tunnel_network_cidr }} endpoint {{ client_default_ip }}:51820
ip link set client-wg up
iptables -t filter -P FORWARD ACCEPT
iptables -t filter -I FORWARD -o client-gw -j ACCEPT
iptables -t filter -I FORWARD -o client-wg -j ACCEPT
EOF
chmod +x /tmp/configure_cluster_tunnel.sh
/tmp/configure_cluster_tunnel.sh

View File

@ -40,7 +40,7 @@
- name: "Set kubconfig file ownership for {{ kubectl.user }} user"
shell: |
chown -R {{ kubectl.user }}:{{ kubectl.group }} /home/{{ kubectl.user }}/.kube
chown -R {{ kubectl.user }}:{{ kubectl.group }} {{ user_home_directory }}/.kube
- name: Deploy Helm
block: