Closed Lolelinus13 closed 2 months ago
I don't think you need a compressive list of permissions (plus that isn't how RBAC works). When must-gather is run, a new namespace is created and that namespace's default service account is given 'cluster-admin' permissions.
That happens here. In short; any pod created in the the namespace (as part of the must-gather scripts/execution) all run with this elevated set of permissions.
/close
I am going to close this as answered; if you have further questions let me know and I will try and answer them the best I can.
@sferich888: Closing this issue.
Hello,
I am currently working on setting up the oc adm must-gather command to run within a pod in our OpenShift environment. To ensure that the ServiceAccount used by the pod has all the necessary permissions to execute the command successfully, I need a comprehensive list of the required Kubernetes permissions.
Could you please provide a detailed list of all the necessary Kubernetes permissions that are needed to run the oc adm must-gather command? This information will greatly help in configuring the appropriate Role or ClusterRole for the ServiceAccount.
Thank you for your assistance!
Best regards, Lolelinus