-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Helm operator : Get status of dependent resources #2491
Copy link
Copy link
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.language/helmIssue is related to a Helm operator projectIssue is related to a Helm operator projectlifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.needs discussion
Milestone
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.language/helmIssue is related to a Helm operator projectIssue is related to a Helm operator projectlifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.needs discussion
Feature Request
I have recently discovered the helm-operator. I really like the simplicity to maintain the definitions of releases and how the operator watches the parent definition as well as the dependent resources and have started migrating some of our deployments to it.
As a status, the operator returns the status of the deployment itself in
status.Conditionsas well as thestatus.deployedReleasename and manifest.I find missing a way to add to custom columns the status (or any other field) from the dependent resources if
watchDependentResourcesistrue.For example, I was thinking about having an optional field to
watches.yaml, such as :This indicates to add a field
status.podReadinessto CRD, having the value ofReadycondition from child Pod.This would allow the CRD to add columns like :
and therefore have the statuses of the dependent resources in the
getoperation of the CR.I can't estimate the complexity of the implementation yet.
As a
Watchis already registered on the dependent resources, I guess the feasibility of the change depends on a status change being catchable byDependentPredicateFuncs. Does a status change triggerUpdateEvent?