timsn opened a new pull request, #857: URL: https://github.com/apache/flink-kubernetes-operator/pull/857
## What is the purpose of the change In further research and testing with Kyverno I figured out that some apiGroups seem to be invalid and I removed them with this PR. It seems that the "extensions" apiGroups does not exist on our recent cluster (Kubernetes 1.29.4). I'm not sure but it might be related to these deprecation notices: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#deployment-v116 Same holds for the "finalizers" resources. They do not seem to exist anymore and lead to problems with our deployment. So I also removed them. To complete the verb list I also added "deleteCollections" where applicable. Ref: https://issues.apache.org/jira/projects/FLINK/issues/FLINK-35310 ## Brief change log - Remove "invalid" RBAC apiGroups and resouces - Replace another occurence of wildcard ("*") verbs with the actual verbs ## Verifying this change This change is a trivial rework / code cleanup without any test coverage. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): no - The public API, i.e., is any changes to the `CustomResourceDescriptors`: no - Core observer or reconciler logic that is regularly executed: no ## Documentation - Does this pull request introduce a new feature? no - If yes, how is the feature documented? not applicable -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
