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

chore: have crds in helm chart instead of copying #1986

Merged
merged 6 commits into from
Dec 14, 2024

Conversation

blumamir
Copy link
Collaborator

The odigos CRD yamls are currently generated in the api module. Whenever the helm chart should be used for development, we needed to run cp -r ./api/config/crd/bases/* ./helm/odigos/templates/crds/ to have the helm repo working.

I think it's nicer to have all the files right in the helm. template, and remove the need to cp in release and deplpoyment. Added a check in CI to make sure the files are aligned

Copy link
Collaborator

@RonFed RonFed left a comment

Choose a reason for hiding this comment

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

Can we tell controller-gen to generate the files directly in the helm directory instead of having two copies in git?

@blumamir blumamir merged commit 98084f9 into odigos-io:main Dec 14, 2024
31 of 32 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.

3 participants