Parcourir la source

manifests: change the kubeconfig hostPath for k3s

Enhancement: change the kubeconfig hostPath for k3s agent nodes. This makes it easier to install Kilo on k3s as no manual kubeconfig copying is necessary. (#14)
sam il y a 6 ans
Parent
commit
5fc13de6cb
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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: /etc/rancher/k3s/k3s.yaml
+          path: /var/lib/rancher/k3s/agent/kubeconfig.yaml

+ 1 - 1
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