operator-sdk icon indicating copy to clipboard operation
operator-sdk copied to clipboard

Consider to support install wait for helm chart

Open qiaoleiatms opened this issue 1 year ago • 1 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

qiaoleiatms avatar May 06 '24 10:05 qiaoleiatms