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

Introduce config directory per cluster #2344

Merged
merged 1 commit into from
Oct 25, 2021
Merged

Introduce config directory per cluster #2344

merged 1 commit into from
Oct 25, 2021

Conversation

joshrosso
Copy link
Contributor

This introduces a configuration directory per cluster at
~/.config/tanzu/tkg/local/${CLUSTER_NAME}. It stores the rendered
(flattened) configuration there.

This commit also re-wires the delete command to support multiple
provides and load the config.

Signed-off-by: joshrosso rossoj@vmware.com

@joshrosso joshrosso requested a review from a team as a code owner October 25, 2021 17:28
Copy link
Contributor

@jpmcb jpmcb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

I created 2 clusters, noted the directories created with the configs and then deleted both without problem.

Saw you just pushed a min ago - is this ready to merge? (feel free to do so!)

This introduces a configuration directory per cluster at
`~/.config/tanzu/tkg/local/${CLUSTER_NAME}`. It stores the rendered
(flattened) configuration there.

This commit also re-wires the delete command to support multiple
provides and load the config.

Signed-off-by: joshrosso <rossoj@vmware.com>
@joshrosso joshrosso merged commit a7251e3 into vmware-tanzu:standalone-overhaul Oct 25, 2021
joshrosso pushed a commit that referenced this pull request Jan 18, 2022
This introduces a configuration directory per cluster at
`~/.config/tanzu/tkg/local/${CLUSTER_NAME}`. It stores the rendered
(flattened) configuration there.

This commit also re-wires the delete command to support multiple
provides and load the config.

Signed-off-by: joshrosso <rossoj@vmware.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants