瀏覽代碼

Merge pull request #386 from OrellBuehler/main

Fix kubeadm cilium manifest
Lucas Servén Marín 1 年之前
父節點
當前提交
e6bb174fbb
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      manifests/kilo-kubeadm-cilium.yaml

+ 4 - 4
manifests/kilo-kubeadm-cilium.yaml

@@ -100,9 +100,9 @@ spec:
 
         # without kube-proxy host kubeconfig binding
         - name: kubeconfig
-          mount_path: /etc/kubernetes/kubeconfig
-          sub_path: admin.conf
-          read_only: true
+          mountPath: /etc/kubernetes/kubeconfig
+          subPath: admin.conf
+          readOnly: true
 
         - name: lib-modules
           mountPath: /lib/modules
@@ -130,7 +130,7 @@ spec:
 
       # without kube-proxy host kubeconfig binding
       - name: kubeconfig
-        host_path:
+        hostPath:
           path: /etc/kubernetes
 
       - name: lib-modules