fix: use super-admin.conf for kube-vip on first master when it exists (#11422) (#11444)

* fix: use super-admin.conf for kube-vip when it exists

* Mathieu Parent add as co-author

Co-authored-by: Mathieu Parent <math.parent@gmail.com>

* template change for readability

* fix lint error

---------

Co-authored-by: Mathieu Parent <math.parent@gmail.com>
(cherry picked from commit e43e08c7d1)

Co-authored-by: Selçuk Arıbalı <selcukaribali@outlook.com>
This commit is contained in:
Mathieu Parent
2024-08-15 05:11:17 +02:00
committed by GitHub
parent 5e5d23cd01
commit 9ebced2132
2 changed files with 27 additions and 1 deletions

View File

@@ -119,6 +119,6 @@ spec:
hostNetwork: true
volumes:
- hostPath:
path: /etc/kubernetes/admin.conf
path: /etc/kubernetes/{{kube_vip_admin_conf}}
name: kubeconfig
status: {}