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

CRDs should be namespace-scoped instead of cluser-scoped #30

Closed
mboutet opened this issue Feb 26, 2024 · 4 comments
Closed

CRDs should be namespace-scoped instead of cluser-scoped #30

mboutet opened this issue Feb 26, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@mboutet
Copy link

mboutet commented Feb 26, 2024

What problem are you facing?

All the CRDs for this provider are cluster-scoped which requires granting access to end users to those resources. In my case, each application (owned by different people) gets a namespace. Each namespace has a ArgoCD AppProject resource that grants access to create any namespace-scoped resource, but denies the creation of any cluster-scoped resource.

How could Upbound help solve your problem?

Those resources should be namespace scoped to allow proper multi-tenancy and reduction of blast-radius.


Let me know if more information is needed.

@mboutet mboutet added the enhancement New feature or request label Feb 26, 2024
@haarchri
Copy link
Member

haarchri commented Mar 6, 2024

for that reason you can use compositions in crossplane context

@haarchri haarchri closed this as completed Mar 6, 2024
@mboutet
Copy link
Author

mboutet commented Mar 6, 2024

@haarchri, could you point me towards documentation that clearly explain how compositions can be used to address the issue we're facing? The issue being that the Vault provider's resources are all cluster-scoped which forces us to grant cluster-wide permissions to manage any of the cluster-scoped resources to our end users.

@joerr1
Copy link

joerr1 commented Mar 6, 2024

Hey we have a similar problem where we dont want to give access to cluster scoped resources and would rather have it namespace scoped. Could you elaborate by what you mean with compositions? My understand is that compositions is still cluster scoped?

@haarchri
Copy link
Member

haarchri commented Mar 6, 2024

here the link to official documentation: https://docs.crossplane.io/latest/concepts/claims/ - and some community tooling arround if you want to use 1:1 managed resources to claims https://github.com/crossplane-contrib/x-generation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants