-
Notifications
You must be signed in to change notification settings - Fork 117
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
Cannot install rbac-manager using Helm and RBACDefinition with Terraform #269
Comments
I believe we have decided against specifying rbacDefinitions in the chart, due to various reasons. The precedent exists in a some other repos that we only manage the controller, not how the end-user wants to manage the Custom resources of that controller. That, and historical poor management of custom resources by helm (which may or not be better now) On a more personal note, I have had terrible experiences with the helm terraform provider, and am not surprised it has issues with this sort of thing. It seems there is a valid workflow that involves the kubectl provider and static manifest in this comment Is that something you could try instead? That's much cleaner than maintaining a chart just for an rbacdefintion. Out of curiosity, if you're using cert-manager, how do you manage clusterIssuers and Issuers? We typically just use a static manifest for those sorts of things, and it's much nicer than trying to shoehorn them into helm. |
Ah yeah the kubectl provider seems to work perfectly. I was using the official k8s one with the Thanks! |
Awesome! Thanks for updating! |
Is your feature request related to a problem? Please describe.
Do to Terraform not handling CRDs and CRs very well yet:
when you try to install the helm release with Terraform for rbac-manager and also apply a CR
RBACDefinition
you get:using this Terraform code:
Describe the solution you'd like
It would be great if we could define a full
RBACDefinition
in thevalues.yaml
of the helm chart for rbac-manager.Describe alternatives you've considered
An alternative is to deploy my own helm chart with the RBACDefinition and install that using Terraform, however it is quit a bit of overhead and not super clean IMO.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: