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
Use cli-utils kstatus library in wait logic #8661
Comments
I am all for code reuse. The |
I'm guessing we would want to wait for a 1.0 release of cli-utils / kstatus first. I'll try to check with the cli-utils team to see if they have any plans around that. If we could get that in place, I'd be happy to take a swing at writing a HIP. |
Keep in mind that we must follow the SemVer restrictions for Helm. For that reason, this could be deferred until Helm 4 unless we are sure we are getting the same results that users already expect. |
If it is deemed a backward incompatible change, one way to still make it available in Helm 3 could be to require setting an environment variable e.g. HELM_EXPERIMENTAL_WAIT similar to HELM_EXPERIMENTAL_OCI. |
@mortent I think this would align well with one of the goals of kstatus, to encourage adoption of the recommended set of status conditions for kubernetes resources. Tagging this as "experimental" in Helm 3 could also allow Helm to track the latest releases of kstatus, while it works towards a 1.0 release. Do you foresee any concerns with this long term as a use case for kstatus? |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Whats the status of this? Would you accept a pr behind a feature flag for this? What people can do now (just for the record) is utilizing a hook like the following.
|
|
The cli-utils kstatus library has extensive logic for statusing and polling of resources. The existing helm wait logic is fairly limited (for example see #8660).
Would there be interest in at some point integrating kstatus into the wait logic?
Even if that is not something that can happen in the near term, would there be interest in taking learnings from the kstatus library's implementation and applying those to the helm wait logic in the short term?
The text was updated successfully, but these errors were encountered: