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

chore: added aggregate labels to ClusterRoles with kustomize #1914

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

myles-coleman
Copy link

SUMMARY

We want to add user-facing roles to awx ClusterRole resources. This would allow our users to automatically view/manage these resources without an admin needing to craft custom role bindings.

Cert-Manager Example

Another operator that does this is cert-manager. Here is an issue from cert-manager where they handle a similar problem. They only create the aggregate ClusterRoles if the global.rbac.aggregateClusterRoles value is set to true in their values.yaml.

ISSUE TYPE
  • New or Enhanced Feature
ADDITIONAL INFORMATION

This PR will certainly change current state behavior, possibly granting new permissions to people who update as these ClusterRoles previously had to be specifically installed. An alternative to this would be providing a kustomize patch file which can add these roles, so that people can opt-in instead of automatically being granted these permissions.

@rooftopcellist
Copy link
Member

cc @rcarrillocruz @TheRealHaoLiu What do you think about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants