From fa9b438715b406d47dc0163cfd8dc57d291b9ae9 Mon Sep 17 00:00:00 2001 From: "sam@y-deb10" Date: Tue, 13 Aug 2019 23:34:59 -0400 Subject: [PATCH] feat: Change the kubeconfig hostPath, if k3s agent node just runs in splited mode. --- manifests/kilo-k3s-flannel.yaml | 2 +- manifests/kilo-k3s.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/kilo-k3s-flannel.yaml b/manifests/kilo-k3s-flannel.yaml index 15fcb04..833f54f 100644 --- a/manifests/kilo-k3s-flannel.yaml +++ b/manifests/kilo-k3s-flannel.yaml @@ -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 diff --git a/manifests/kilo-k3s.yaml b/manifests/kilo-k3s.yaml index 6b8b5aa..34c0572 100644 --- a/manifests/kilo-k3s.yaml +++ b/manifests/kilo-k3s.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