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

how can i do not delete deployment #15

Open
shuoshadow opened this issue Jan 7, 2020 · 3 comments
Open

how can i do not delete deployment #15

shuoshadow opened this issue Jan 7, 2020 · 3 comments

Comments

@shuoshadow
Copy link

it is too dangerous to delete chpa if i forget add --cascade=false。what should i do if i want to delete chpa with out --cascade=false

@Serendo
Copy link

Serendo commented Oct 27, 2020

I tried to comment out controllerutil.SetControllerReference in pkg/controller/chap/chpa_controller.go and it no longer set owner reference to deployment any more. I'm testing to see if there is any side effects.

@its-aqeel
Copy link

@Serendo any update on this ?

@Serendo
Copy link

Serendo commented Jun 14, 2024

@Serendo any update on this ?

It's safe to do this. Deployments will no longer be deleted.

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

No branches or pull requests

3 participants