-
Notifications
You must be signed in to change notification settings - Fork 312
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
Provide CRDs in nack
helm chart
#398
Comments
Thanks @manuelottlik, they used to be part of the Helm chart but we took them out because that meant that updates to the CRDs were not being applied and these CRDs can have new fields fairly often. Managing CRDs via Helm has many gotchas as described in the following discussion from Helm maintainers, so for now decided to keep them out of the repo: https://github.com/helm/community/blob/main/hips/hip-0011.md#helm-is-still-working-on-thus-but-we-cannot-solve-it-alone |
Thank you for the quick reply, @wallyqs. There are two things I would like to say:
What do you think? |
I think both sounds good, just noticed that they are not mentioned in the readme, agree that we need a migration guide / better strategy for handling updates to the CRDs as well... For a bit there used to be a copy of the CRDs both in these repo and in the nack repo but eventually only left this copy since there was some confusion with duplication: https://github.com/nats-io/nack/blob/main/deploy/crds.yml |
What about a mix of the two options?
I've seen many helm charts follow this way already and would love to see it adapted here as well – if you agree of course. |
thanks @manuelottlik, could you point to some of the examples of Helm charts that follow something like that? |
Thanks, I think our approach might be similar to how grafana does with the agent-operator in that they are synced from another repo: |
Okay @wallyqs, so you plan on keeping it that way? If thats the case, this issue can be closed. |
Hi @manuelottlik I meant that we could do a similar approach like grafana does and keep a copy of the crds in both places probably. |
Hey @wallyqs, I see. Should I just provide a PR with the copied helm charts from the other repository? Should there be any note in the README about the need to keep these up to sync or will you handle that internally? |
Hi @manuelottlik, @wallyqs, I wonder why this issue was closed? CRDs are still provided separately, which complicates automatically updating our dependency on nack. Thanks! |
Hey @mathieubergeron, that's right. I closed it as "not planned" because I did not receive any more feedback. I still think it's a good idea but stopped using the CRDs, so I didn't put in more effort. |
Sorry @manuelottlik should have responded that your approach sounded good. I think it might be fine to put them now in the Helm charts as well with the caveat that in case there are updates to the CRDs they won't be updated and still has to be done manually. |
As a gitops user it would be really really good to have the CRDs included in the chart. Is there an update when this open PR is going to be merged @manuelottlik ? Thank you very much for your efforts |
Hey @christiang830, I stopped working on this since we do not use the CRDs at the moment, you are welcome to create a PR. |
Hi @manuelottlik, thanks for the quick reply. But there is already an open PR #694 |
Ah oops, did not see that. I am not a maintainer, so I do not have control about merging it. |
Ah sorry, assumed from the previous replies that you actually were. My bad |
Hey guys,
when installing the
nack
helm chart I figured that the CRDs for the JetStream controller are not installed. This is possible in an helm chart by providing acrds
folder next totemplates
(see helm docs).I think the
nack
helm chart should provide these CRDs. Do you agree? I would be happy to provide a PR for this.The text was updated successfully, but these errors were encountered: