Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ErikLundJensen opened this issue May 11, 2022 · 2 comments

Comments

@ErikLundJensen
Copy link

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:

  • A RoleBinding in kube-system to let the serviceaccount read the ConfigMap
  • Documentation of vsphere-cpi must be installed in kube-system namespace and thereby remove the option to install vsphere-cpi as part of the vsphere-csi chart.
@hasanhakkaev
Copy link
Contributor

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
Copy link
Contributor

sathieu commented Jun 9, 2022

See also somewhat related #44.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants