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

* 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>
This commit is contained in:
Selçuk Arıbalı
2024-08-11 06:35:58 +02:00
committed by GitHub
parent 28712045a5
commit e43e08c7d1
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: {}