Open Almog1009 opened 4 years ago
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.
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?
https://github.com/chaostoolkit-incubator/kubernetes-crd/blob/c2d85cfbe97726d08fe0480a86cf69dbe3acfeb4/controller.py#L41