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

Fetch/sync configuration from garden cluster #48

Open
petersutter opened this issue Oct 28, 2021 · 0 comments
Open

Fetch/sync configuration from garden cluster #48

petersutter opened this issue Oct 28, 2021 · 0 comments
Labels
component/gardenctl Gardener CLI kind/enhancement Enhancement, improvement, extension lifecycle/rotten Nobody worked on this for 12 months (final aging stage)

Comments

@petersutter
Copy link
Contributor

petersutter commented Oct 28, 2021

What would you like to be added:
gardenctl should be able to fetch configuration, like the target patterns (#44) or e.g. access restriction configuration from the garden cluster.

Gardenctl could then fetch ConfigMap(s) from a predefined namespace, like gardenctl-system with configuration data for gardenctl.

Gardenctl will also read the cluster-identity configmap in kube-system namespace from the garden cluster and will use this for the garden configuration, e.g. it will store the value under .gardens[].clusterIdentity. The .gardens[].name field could be dropped in favour of clusterIdentity. We could also think about duplicating the cluster-identity from the kube-system namespace to the gardenctl-system namespace so that also non-operator users are able to get this information.

A dedicated command could be introduced for this purpose, like gardenctl config sync [--garden landscape-dev | --dry-run]. If no garden cluster identity or alias is provided, all configured gardens are synced.

Why is this needed:
This is needed so that the user only needs to provide minimal configuration data and the tool fetches the rest of the configuration automatically.

@petersutter petersutter added component/gardenctl Gardener CLI kind/enhancement Enhancement, improvement, extension labels Oct 28, 2021
@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Apr 27, 2022
@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/gardenctl Gardener CLI kind/enhancement Enhancement, improvement, extension lifecycle/rotten Nobody worked on this for 12 months (final aging stage)
Projects
None yet
Development

No branches or pull requests

2 participants