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

Clean up the older configmaps with the naming format etcd-bootstrap-<UID> after 2 releases #931

Open
anveshreddy18 opened this issue Nov 22, 2024 · 0 comments
Assignees
Labels
area/control-plane Control plane related kind/cleanup Something that is not needed anymore and can be cleaned up
Milestone

Comments

@anveshreddy18
Copy link
Contributor

How to categorize this issue?

/area control-plane
/kind cleanup

What would you like to be added:

The PR #812 renames the Etcd ConfigMap to {etcd.Name}-config format from the previous format of etcd-bootstrap-<UID> among few other changes. This is for consistency with other resources that gets created as part of Etcd Reconciliation.

With this, when the druid is upgraded to the version that contains this PR, it creates a new configMap with name as {etcd.Name}-config, leaving the previously existing configMaps with name etcd-bootstrap-<UID> as is for now i.e no cleanup is done in the PR. This is done to support a smooth downgrade/upgrade path without complicating the cleanup process of unused configMaps every time a downgrade & upgrade happens.

But, we do not want unused orphan resources lying in the cluster for a long time. This issue acts as the tracker for removing these unused configmaps after 2 releases i.e with v0.27.0 so that by then downgrade to a previous version would also use the same configMap, removing the dependency on the previous naming convention.

Why is this needed:

To remove the unused orphan resources lying in the cluster.

@anveshreddy18 anveshreddy18 self-assigned this Nov 22, 2024
@gardener-robot gardener-robot added area/control-plane Control plane related kind/cleanup Something that is not needed anymore and can be cleaned up labels Nov 22, 2024
@anveshreddy18 anveshreddy18 added this to the v0.27.0 milestone Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related kind/cleanup Something that is not needed anymore and can be cleaned up
Projects
None yet
Development

No branches or pull requests

2 participants