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

Add Aggregating ClusterRole for Service Bindings #1153

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

Samze
Copy link
Contributor

@Samze Samze commented Oct 3, 2022

This automatically sets up the RBAC required to work with implementors of the Service Binding specification.

As per the spec recommendation:

Cluster operators and CRD authors SHOULD opt-in resources to expose provisioned services by defining a ClusterRole with a label matching servicebinding.io/controller=true
From https://servicebinding.io/spec/core/1.0.0/#considerations-for-role-based-access-control-rbac

This closes #1149

Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed

Summary Of Changes

Adds a new ClusterRole with the appropriate servicebinding.io/controller=true label. The default kustomize configuration appends rabbitmq-cluster- to the resource name.

This automatically sets up the RBAC required to work with implementors
of the Service Binding specification.

As per the spec recommendation:
> Cluster operators and CRD authors SHOULD opt-in resources to expose provisioned services by defining a ClusterRole with a label matching servicebinding.io/controller=true
From https://servicebinding.io/spec/core/1.0.0/#considerations-for-role-based-access-control-rbac
@Samze Samze marked this pull request as draft October 3, 2022 19:27
@Samze Samze changed the title Draft: Add Aggregating ClusterRole for Service Bindings Add Aggregating ClusterRole for Service Bindings Oct 3, 2022
@ChunyiLyu ChunyiLyu marked this pull request as ready for review October 6, 2022 16:47
@ChunyiLyu ChunyiLyu merged commit 5dd4992 into rabbitmq:main Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install recommended Service Binding spec RBAC for provisioned service type
2 participants