operator-framework/operator-sdk

Consider to support install wait for helm chart

Opened this issue · 0 comments

Feature Request

Describe the problem you need a feature to resolve.

Sometimes, we need to represent the final status of the helm chart installation to the CR, for example, imagine here's an App resource, which will install a K8s Deployment from the corresponding helm chart, we want to see the status of App to deployed only when all the pods of the deployment is in running status

Describe the solution you'd like.

Consider to support get annotation helm.sdk.operatorframework.io/install-wait from App CR, if it exists and has a value to true, we can mark the InstallOption to wait
https://github.com/yilims/operator-sdk/blob/308b320f3d4f00d1994a16f5f5d52ba902f21a16/internal/helm/controller/reconcile.go#L244