You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user has insufficient permissions to check if the clusterversions resource exists,
Yes, I understand.
But why would a user in Kubernetes distribution need permissions to a resource in the config.openshift.io API group?
I am trying to run Cerberus against a Kubernetes cluster.
@redhat-chaos/developers I have no strong opinion on this, the 403 code can be added to the error handling. This would mean that if the user does not have permissions to the clusterversion resource, we assume it's not an OpenShift.
Cerberus throws the below error for
Kubernetes
distribution:This is observed after the change https://github.com/redhat-chaos/cerberus/pull/169
Asking for list permission for resource
clusterveersions
in API groupconfig.openshift.io
doesnt seem right when the distribution isKubernetes
.https://github.com/redhat-chaos/cerberus/blob/0ce6f371d8577ea50d4ecd080f5b998884cf91d9/cerberus/kubernetes/client.py#L426 says the function should return empty string for the distributions other than
openshift
.The text was updated successfully, but these errors were encountered: