Skip to content

Reconcile configuration drift in Helm releases #289

@robinkb

Description

@robinkb

User Story

As an operator I would like CAAPH to reconcile configuration drift in Helm releases.

Detailed Description

If I modify or delete a Kubernetes resource on the target cluster that is managed by CAAPH through a HelmReleaseProxy, it is not reconciled to the desired state.
For example, if I delete a Deployment deployed through CAAPH, it is not recreated.

When using Helm directly, a release can be repaired by running helm upgrade with the same version and values as before.
CAAPH seems to skip executing any actions on the target cluster if there is no change in the HelmReleaseProxy resource.

Making any change in the HelmReleaseProxy resource (like bumping the version) does trigger a reconcile and restores any modified or deleted resources back to the desired state.

It would be nice to have some way for CAAPH to automatically reconcile configuration drift without having to make changes in the HelmReleaseProxy. Perhaps as a toggle on the HelmReleaseProxy, or a feature flag on the controller manager.

Anything else you would like to add:

Not really, just that this project is very cool :)

/kind feature

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions