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: improve CRD install (Helm and standalone) #140

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

erikgb
Copy link
Contributor

@erikgb erikgb commented Jun 29, 2024

The purpose of this PR is twofold: fix the currently broken CRDs standalone install (#139) and improve the Helm CRDs install by adding helm.sh/resource-policy: keep annotation (by default) to CRDs to prevent Helm from uninstalling the CRD when the Helm release is uninstalled. The general improvement of Helm CRD install will hopefully allow more users to let Helm manage CRDs.

I will suggest publishing CRDs as a release artifact to avoid the new crd-only kustomize overlay. As long as we have conversion webhooks, installing CRDs separately will be somehow borked.

The solution is heavily inspired by recent work in cert-manager!

Fixes #139

@erikgb erikgb force-pushed the fix-install-crds branch 2 times, most recently from ae172a4 to 1b2c825 Compare June 30, 2024 07:33
@rkwmt rkwmt requested a review from zoetrope July 1, 2024 01:05
zoetrope
zoetrope previously approved these changes Jul 5, 2024
Copy link
Member

@zoetrope zoetrope left a comment

Choose a reason for hiding this comment

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

Thanks for the great PR.

charts/accurate/README.md Outdated Show resolved Hide resolved
zoetrope
zoetrope previously approved these changes Jul 5, 2024
@erikgb
Copy link
Contributor Author

erikgb commented Jul 5, 2024

@zoetrope Conflicts should be resolved now. I also removed your two commits. They appeared to be a no-op in total. 😉

@zoetrope zoetrope merged commit da690dc into cybozu-go:main Jul 5, 2024
8 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.

Failed to create subnamespace due to service "webhook-service" not found
2 participants