feat: Change the kubeconfig hostPath, if k3s agent node just runs in splited mode.

This commit is contained in:
sam@y-deb10 2019-08-13 23:34:59 -04:00
parent d385686fa9
commit fa9b438715
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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