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

No permission to create namespaces - 403 Forbidden #62

Open
Almog1009 opened this issue Aug 30, 2020 · 1 comment
Open

No permission to create namespaces - 403 Forbidden #62

Almog1009 opened this issue Aug 30, 2020 · 1 comment

Comments

@Almog1009
Copy link

The namespace already exists and I don't have permission to create namespaces in the cluster, thus it throws PermanentError, 403 forbidden. Is there a way to surpass that?

ns, ns_tpl = await create_ns(v1, cm, spec)

@dmartin35
Copy link
Contributor

Sorry for late response,
with the current code, there is no way to bypass it other than getting yourself namespace creation permission.

We'll have to update the code to check the namespace existence with another method.

But before making code change, are you sure you have the permission to list namespaces either ? If you have no permissions on namespace resource, I don't see a way to check it exists or create it if not.

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

2 participants