feat: Change the kubeconfig hostPath, if k3s agent node just runs in splited mode.
This commit is contained in:
parent
d385686fa9
commit
fa9b438715
@ -96,4 +96,4 @@ spec:
|
||||
path: /var/lib/kilo
|
||||
- name: kubeconfig
|
||||
hostPath:
|
||||
path: /etc/rancher/k3s/k3s.yaml
|
||||
path: /var/lib/rancher/k3s/agent/kubeconfig.yaml
|
||||
|
@ -158,4 +158,4 @@ spec:
|
||||
path: /var/lib/kilo
|
||||
- name: kubeconfig
|
||||
hostPath:
|
||||
path: /etc/rancher/k3s/k3s.yaml
|
||||
path: /var/lib/rancher/k3s/agent/kubeconfig.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user