vsphere-tmm / helm-charts

A repository of unofficial helm charts for vSphere components
https://vsphere-tmm.github.io/helm-charts/
21 stars 27 forks source link

vsphere-cpi: Installation of vsphere-cpi in other namespaces than 'kube-system' fails #39

Open ErikLundJensen opened 2 years ago

ErikLundJensen commented 2 years ago

It seems the cpi needs to access the configmap "extension-apiserver-authentication" in namespace kube-system.

When vsphere-cpi is installed other namespaces then the pod does not have permissions to read the ConfigMap in kube-system. For example when installing vsphere-csi Helm Chart with vsphere-cpi.enabled: true

Two different solutions as I see it:

hasanhakkaev commented 2 years ago

Hi @ErikLundJensen, I have created a PR(#40) , to fix the read permission issue. Maybe you can take a look and share your thoughts.

sathieu commented 2 years ago

See also somewhat related #44.