-
Notifications
You must be signed in to change notification settings - Fork 119
Try to fix Helm so it does not allow deleting CRDs #718
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
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Mostafahassen1 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for kubernetes-sigs-lws canceled.
|
|
Welcome @Mostafahassen1! |
|
Hi @Mostafahassen1. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Hi @Edwinhr716, please review this when you have time. |
kerthcet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the problem is because crds is placed under the template folder, but in practice, we should make them in parallel.
Hi @kerthcet, I worked on the issue again by moving the crds out of the templates/ directory. I then tested the app to check whether Helm deletes the CRDs, but I found that it still deletes them.
|



Issue => #695
The issue is not fixed yet. I am trying to fix it, but I may be going in the wrong direction. I need help to find the correct way to resolve this issue.
I used the following commands to run the application:
docker build -t my-lws:dev .helm upgrade --install lws oci://registry.k8s.io/lws/charts/lws \ --version=$CHART_VERSION \ --namespace lws-system \ --create-namespace \ --set manager.image.repository=my-lws \ --set manager.image.tag=dev \ --set manager.image.pullPolicy=Never \ --wait --timeout 300s