Browse Source

Merge pull request #48 from p-hash/kubeconfig_fix

Change path to kubeconfig to match k3s v1.0
Lucas Servén Marín 6 years ago
parent
commit
8bb9600e5e
2 changed files with 2 additions and 2 deletions
  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
           path: /var/lib/kilo
       - name: kubeconfig
       - name: kubeconfig
         hostPath: 
         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
           path: /var/lib/kilo
       - name: kubeconfig
       - name: kubeconfig
         hostPath: 
         hostPath: 
-          path: /var/lib/rancher/k3s/agent/kubeconfig.yaml
+          path: /etc/rancher/k3s/k3s.yaml