Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

add (infra-provider) credential detection for cluster deletion #603

Merged
merged 2 commits into from
May 25, 2021

Conversation

joshrosso
Copy link
Contributor

What this PR does / why we need it

This introduces credential detection for providers.

Now running:

tanzu standalone-cluster delete <clustername> -f <config file>

will properly delete the standalone cluster.

Most changes occurred here: https://github.com/vmware-tanzu-private/tkg-cli/commit/aecf8ddffda7b63d3653c7adfc5119670e172b43

@joshrosso joshrosso added the owner/core-eng Work executed by TCE's core engineering team label May 25, 2021
@joshrosso joshrosso requested a review from jpmcb May 25, 2021 05:25
@joshrosso
Copy link
Contributor Author

@jpmcb putting this here so I don't forget for tomorrow.

Let's update the init code to save the original cluster config file.

Then, users won't need to specify this flag because we can load the file from a known good location.

talk tomorrow 👋

@joshrosso joshrosso merged commit 8e5fa83 into main May 25, 2021
@stmcginnis stmcginnis deleted the standalone-delete-detect-creds branch June 3, 2021 21:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
owner/core-eng Work executed by TCE's core engineering team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants