-
Notifications
You must be signed in to change notification settings - Fork 626
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
Refactor flux uninstall command #891
Conversation
64ff9e7
to
b9ef9f9
Compare
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.
Any specific reason the --dry-run
flag was removed? As judging by the code, it would not be impossible to keep this feature.
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.
Awesome job @stefanprodan 💯 🥇
One tiny nit on the (already existing) description of the --dry-run
flag, otherwise LGTM 👍
01a541e
to
b975014
Compare
This should be merged right before flux2 v0.8 release, to avoid confusion around uninstall docs. |
a0a819d
to
caff61f
Compare
- deletes Flux components (deployments and services) - deletes Flux RBAC (service accounts, cluster roles and cluster role bindings) - removes the Kubernetes finalizers from Flux custom resources - deletes Flux custom resource definitions and custom resources - deletes the namespace where Flux was installed - preserves the Kubernetes objects and Helm releases that were reconciled on the cluster by Flux Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
caff61f
to
0f1d27f
Compare
CI: Set Public ECR region to us-east-1
This is a complete rewrite of
flux uninstall
in Go without any shell-execs to kubectl.The uninstall command performs the following operations:
--keep-namespace=false
Breaking changes:
uninstall
command will no longer remove any Kubernetes objects or Helm releases that were reconciled on the cluster by Fluxcrds
andresources
arguments were removedExample:
Fix: #811
Fix: #632