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

Chart changes #438

Merged
merged 4 commits into from
Mar 21, 2024
Merged

Chart changes #438

merged 4 commits into from
Mar 21, 2024

Conversation

niladrih
Copy link
Member

@niladrih niladrih commented Mar 15, 2024

  • add README.md helm-docs template for crds subchart
  • add values to toggle install of all CRDs
  • coreutils to nix-shells
  • add value option to toggle installation of snapshot CRDs
  • refactor generate-readme.sh script to work with CRDs subchart
  • add templates to crds chart to avoid installation if CRDs already exists, because otherwise install/upgrade fails because these template-style CRDs carry a release-name label.
  • remove CRD-install functionality during upgrade, as the above templating takes care of that at install/upgrade time.

@niladrih niladrih force-pushed the crds-subchart-changes branch 5 times, most recently from 1dbc8e7 to 74f167d Compare March 15, 2024 10:13
@niladrih niladrih removed the request for review from rohan2794 March 15, 2024 10:13
@niladrih niladrih force-pushed the crds-subchart-changes branch 2 times, most recently from ebd313c to 39126f4 Compare March 15, 2024 10:36
@niladrih niladrih requested a review from avishnu March 16, 2024 05:38
@niladrih niladrih force-pushed the crds-subchart-changes branch 2 times, most recently from 6808447 to 8479a82 Compare March 19, 2024 11:48
chart/charts/crds/templates/_helpers.tpl Show resolved Hide resolved
shell.nix Show resolved Hide resolved
chart/Chart.yaml Outdated Show resolved Hide resolved
chart/Chart.yaml Outdated Show resolved Hide resolved
@niladrih niladrih force-pushed the crds-subchart-changes branch from 8479a82 to 37d1973 Compare March 20, 2024 15:01
@niladrih
Copy link
Member Author

bors merge

bors-openebs-mayastor bot pushed a commit that referenced this pull request Mar 21, 2024
438: Chart changes r=niladrih a=niladrih

- add README.md helm-docs template for crds subchart
- add values to toggle install of all CRDs
- coreutils to nix-shells
- add value option to toggle installation of snapshot CRDs
- refactor generate-readme.sh script to work with CRDs subchart
- add templates to crds chart to avoid installation if CRDs already exists, because otherwise install/upgrade fails because these template-style CRDs carry a release-name label.
- remove CRD-install functionality during upgrade, as the above templating takes care of that at install/upgrade time.

Co-authored-by: Niladri Halder <[email protected]>
@niladrih
Copy link
Member Author

bors cancel

- add README.md helm-docs template for crds subchart
- add values to toggle install of all CRDs
- coreutils to nix-shells
- add value option to toggle installation of snapshot CRDs
- refactor generate-readme.sh script to work with CRDs subchart

Signed-off-by: Niladri Halder <[email protected]>
The CRDs in the helm chart have been moved to a subchart. They live in
the subchart's 'templates' directory. They have templates which disables
their installation if a CRD with the exact same name is already present
in the kubernetes cluster. Thus, unless explicitly disabled, all templates
are installed during helm upgrade. This functionality is no longer required.

Signed-off-by: Niladri Halder <[email protected]>
@niladrih niladrih force-pushed the crds-subchart-changes branch from 37d1973 to 4f1168c Compare March 21, 2024 05:24
@niladrih
Copy link
Member Author

bors merge

@bors-openebs-mayastor
Copy link
Contributor

🕐 Waiting for PR status (Github check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set.

@bors-openebs-mayastor
Copy link
Contributor

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit 8c52f81 into develop Mar 21, 2024
5 checks passed
@bors-openebs-mayastor bors-openebs-mayastor bot deleted the crds-subchart-changes branch March 21, 2024 05:30
bors-openebs-mayastor bot pushed a commit that referenced this pull request Mar 21, 2024
450: Cherry-pick #438 and #439 r=niladrih a=niladrih

This PR cherry-picks the commits from the following PRs to release/2.6 branch:
- #438 
- #439 

Co-authored-by: cmontemuino <[email protected]>
Co-authored-by: Niladri Halder <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants