ansible(cilium): rewrite controller kubeconfig to SSH-tunnel endpoint (kube-API not NAT-forwarded)

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
jakman85andClaude Opus 4.8 committed 2026-08-25 12:15:12 -05:00
1 parent 1004c8eae6
commit 0037fb40fa
2 files changed
+7 -2

No files matched your search

+1 -2
View File
@@ -24,8 +24,7 @@
ansible.builtin.copy:
content: >-
{{ k3s_kubeconfig_raw.content | b64decode
| regex_replace('https://127.0.0.1:6443',
'https://' ~ k3s_api_host ~ ':' ~ k3s_api_port) }}
| regex_replace('https://127.0.0.1:6443', cluster_controller_api_server) }}
dest: "{{ cilium_kubeconfig }}"
mode: "0600"
delegate_to: localhost