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

refactor(charts): move CRDs into a subchart #512

Closed
wants to merge 5 commits into from

Conversation

niladrih
Copy link
Member

@niladrih niladrih commented Mar 16, 2024

Changes:

  • bumps chart version, appVersion, image tag.
  • moves CRDs into a subchart and adds templating to enable/disable them, while maintaining install order. Install order matters for CRDs in case there are CRs inside the chart which may require the CRDs.
  • Add templating to CRDs which disables their installation if they already exist. Because the CRDs are inside the template directory of the subchart, they will carry the release-name label from helm. This makes them difficult to patch into an existing CRD in the cluster. The install/upgrade errors out in these cases. The templating will make sure the CRDs will be installed only if they are not present.

PRs with similar change:

Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
@Abhinandan-Purkait
Copy link
Member

Has been picked in #513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/hold-merge hold the merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants