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

Automation: deletion of the landing zone should include the 5 ns - policies, logging, networking, projects, hierarchy - or let the config controller handle deletion via kpt live destroy #593

Open
obriensystems opened this issue Oct 22, 2023 · 1 comment

Comments

@obriensystems
Copy link
Collaborator

obriensystems commented Oct 22, 2023

part of #446

https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/wiki/DevOps#delete-the-landing-zone

  kubectl delete gcp -n projects --all
  kubectl delete gcp -n networking --all
  kubectl delete gcp -n hierarchy --all
  kubectl delete gcp -n policies --all
  kubectl delete gcp -n logging --all

  # retest and adjust order above and add
  kubectl delete gcp -n config-control --all

See original documentation

Add to the documentation and automation, currently we do only

kubectl delete gcp --all

https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/blob/main/docs/landing-zone-v2/README.md#clean-up
#446
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/blob/gh446-hub/solutions/setup.sh

Why are we not letting the config controller handle services deletion it currently controls - using

  kpt live destroy $REL_SUB_PACKAGE

We will add
Screenshot 2023-10-22 at 09 46 49

  kubectl delete gcp -n projects --all
  kubectl delete gcp -n networking --all
  kubectl delete gcp -n hierarchy --all
  kubectl delete gcp -n policies --all
  kubectl delete gcp -n logging --all
@obriensystems obriensystems changed the title Automation: deletion of the landing zone should include the 5 namespaces policies, logging, networking, projects, hierarchy Automation: deletion of the landing zone should include the 5 namespaces policies, logging, networking, projects, hierarchy - also why not just defer to kpt live destroy Oct 22, 2023
@obriensystems obriensystems changed the title Automation: deletion of the landing zone should include the 5 namespaces policies, logging, networking, projects, hierarchy - also why not just defer to kpt live destroy Automation: deletion of the landing zone should include the 5 ns - policies, logging, networking, projects, hierarchy - or let the config controller handle deletion via kpt live destroy Oct 22, 2023
@fmichaelobrien fmichaelobrien self-assigned this Oct 22, 2023
@fmichaelobrien
Copy link
Contributor

fix #743

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants