manifests: fix kubeadm CNI path

As discussed in
https://github.com/squat/kilo/issues/129#issuecomment-789651850,
the Kilo manifests for kubeadm install the CNI configuration in the
wrong directory. They are using /etc/kubernetes/cni/net.d [0] when they
should be using /etc/cni/net.d [1].

[0]
https://github.com/squat/kilo/blob/main/manifests/kilo-kubeadm.yaml#L163
[1]
https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/#cni

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
This commit is contained in:
Lucas Servén Marín 2021-03-04 12:53:46 +01:00
parent 2b959f7020
commit a408ce9f35
No known key found for this signature in database
GPG Key ID: 586FEAF680DA74AD
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ spec:
path: /opt/cni/bin
- name: cni-conf-dir
hostPath:
path: /etc/kubernetes/cni/net.d
path: /etc/cni/net.d
- name: kilo-dir
hostPath:
path: /var/lib/kilo