소스 검색

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 6 년 전
부모
커밋
5fc13de6cb
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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