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

helm: make installing CRDs optional through the new crds.create value #5410

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Oct 6, 2023

Currently, CRDs can only be disabled through the --skip-crds flag, which may not be available for all users interacting with Helm.

This PR moves the CRDs to a subchart, allowing them to be dynamically disabled through a new setting (crds.create).

This follows the pattern established by https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus-operator-crds, thanks to the advice given by @bentonam.

@rfratto rfratto requested a review from a team as a code owner October 6, 2023 20:04
Copy link
Member

@tpaschalis tpaschalis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rfratto rfratto merged commit 032f8e1 into grafana:main Oct 10, 2023
6 checks passed
@rfratto rfratto deleted the helm-move-crds-subchart branch October 10, 2023 13:36
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants