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

Scaffolding RBAC when go and helm apis are specified in the project #142

Open
varshaprasad96 opened this issue Dec 9, 2021 · 1 comment
Assignees

Comments

@varshaprasad96
Copy link
Member

Problem:
When using create api command with both helm and go plugin, the roles.yaml in config/ directory is rewritten. However, the other rbac manifests which specify the permissions to view and edit the custom object is present. This requires an additional step of modifying the rbac manually and applying it to the cluster.

Possible solution:
Scaffold roles for each APIs in separate files and apply them in the cluster.

@varshaprasad96
Copy link
Member Author

We can have roles.yaml for go api, and have a separate Kustomize file that has rbac for helm api.

@varshaprasad96 varshaprasad96 self-assigned this Dec 14, 2021
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

No branches or pull requests

1 participant