Browse Source

Change path to kubeconfig to match k3s v1.0

Pavel 6 năm trước cách đây
mục cha
commit
b6afa6e9b2
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      manifests/kilo-k3s-flannel.yaml
  2. 1 1
      manifests/kilo-k3s.yaml

+ 1 - 1
manifests/kilo-k3s-flannel.yaml

@@ -96,4 +96,4 @@ spec:
           path: /var/lib/kilo
       - name: kubeconfig
         hostPath: 
-          path: /var/lib/rancher/k3s/agent/kubeconfig.yaml
+          path: /etc/rancher/k3s/k3s.yaml

+ 1 - 1
manifests/kilo-k3s.yaml

@@ -160,4 +160,4 @@ spec:
           path: /var/lib/kilo
       - name: kubeconfig
         hostPath: 
-          path: /var/lib/rancher/k3s/agent/kubeconfig.yaml
+          path: /etc/rancher/k3s/k3s.yaml