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

fix: Add capability to skip crd installation during helm install #625

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

estenrye
Copy link
Contributor

This PR

  • Alters the Makefile to move CustomResourceDefinition templates to the crds directory before packaging the helm chart.
  • Alters the .gitignore to ignore templates in the crds directory.
  • Updates and cleans up the CRD installation documentation.
  • Enables users to optionally skip installation of the CRDs using the --skip-crds flag when performing helm install

Related Issues

Fixes #624

Notes

Follow-up Tasks

How to test

make helm-package
helm template ./chart/open-feature-operator -s "templates/crds/*.yaml" | kubectl -f -
helm install open-feature ./chart/open-feature-operator --skip-crds --create-namespace -n open-feature

@estenrye estenrye requested a review from a team as a code owner April 23, 2024 19:35
@estenrye estenrye changed the title Add capability to skip crd installation during helm install fix: Add capability to skip crd installation during helm install Apr 23, 2024
@beeme1mr beeme1mr assigned beeme1mr and Kavindu-Dodan and unassigned beeme1mr Apr 23, 2024
@estenrye
Copy link
Contributor Author

@beeme1mr I ran the update script like the helm docs linter told me to. can you approve the workflows again?

@estenrye
Copy link
Contributor Author

@beeme1mr I merged main into my branch since it was ahead of my branch, can you approve the workflow again?

@beeme1mr
Copy link
Member

Hey @estenrye , I'll try and trigger the ci when I notice a change but feel free to ping me too. This is only an issue for first-time collaborators. Your next pr will be easier 🙂

Copy link
Contributor

@Kavindu-Dodan Kavindu-Dodan left a comment

Choose a reason for hiding this comment

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

I have this concern, otherwise looks fine

@estenrye estenrye force-pushed the 624-fix-skip-crds branch 2 times, most recently from 4289a37 to e642798 Compare April 25, 2024 01:20
- Fixes open-feature#624
- add readme-generator-for-helm to .gitignore

Signed-off-by: Esten Rye <esten.rye@ryezone.com>
@estenrye
Copy link
Contributor Author

@beeme1mr can you re-run the workflows? I addressed PR feedback, rebased against main and squashed my commits.

@beeme1mr beeme1mr merged commit a40e13b into open-feature:main Apr 25, 2024
14 checks passed
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.

Helm Chart: generate CRD templates in the CRDs folder to allow --skip-crds to skip CRDs
4 participants