community
community copied to clipboard
HIP for custom resource ordering
This HIP will cover the option to customize the install order of custom resources.
https://github.com/helm/helm/pull/9534
Hi, I just found your HIP and I think it could help solve a problem I'm having during the creation of a helm release in which creation order matters. In my case all of the resources in the chart are custom resources though. Does this proposal handle ordering of CRs as well (for example creating a cert-manager Issuer CR before a Certificate that uses the issuer)?
Hi @tfussell, the HIP currently doesn't cover sorting of CR against other CR. It only supports sorting against the currently hardcoded list in Helm: https://github.com/helm/helm/blob/1ec0aacb8865d5b1f7ef1cb884bbf9b12579ecef/pkg/releaseutil/kind_sorter.go#L31-L66
Thanks @Skaronator. Would you be willing to consider it if I take on the work of adding it to your HIP and proof-of-concept PR?
Sure, go ahead :)