-
Notifications
You must be signed in to change notification settings - Fork 490
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
Create isolated chart for operator CRDs #1203
Conversation
Not to be a pain but just wanted to mention the issue with the There are 3 ways I know of that you can handle CRDs, 2 of which have issues:
Possible that I'm missing something, but I've been struggling with helm and CRDs for a while and haven't found any possible option for installing CRDs and CRs in one helm install/upgrade in a way that is reliable. |
@andrewdinunzio this is a good point, I am opting for simplifying only the installation process and eventually centralizing instructions for upgrading CRDs as prometheus does here. I am recommending we do it this way because managing the CRDs via helm has a huge amount of thorns as we discussed in the issue. i.e. we simplify the installation process and give very specific upgrading instructions for CRDs. I have also been struggling with helm and CRDs for a while now and I don't think any of these solutions is great. |
Gotcha. Personally I'm not a fan of manual steps as part of upgrades as it makes it harder to keep things up to date and doesn't fit well with CI/CD pipelines, but so far I've had no issues with just pulling the CRDs out and |
@andrewdinunzio definitely – that's exactly why i want to get them out of templates. This chart will only work when a user doesn't want the conversion webhook. I think I will leave it to power-users like yourself to decide how to handle automatic upgrades. Hopefully helm will eventually improve this lifecycle 🤞 |
I'd like to share my approach here. Again, we put the crds directory in the |
@JaredTan95 have you used that technique for other CRDs already? Do you know of any other helm charts doing that? |
|
CLosing this in favor of #1214 |
Creates an isolated chart for operator CRDs per #677