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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

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
1 participant