Blockers and Issues from CX Team #67
Replies: 2 comments 7 replies
-
Dependencies Review for HelmI believe Helm dependencies are for charts that need to be together in order to work, but not a hard requirement to install Helm Installation OrderingHelm does not do ordered installation of dependent charts currently, instead it re-orders according to Kubernetes resource KIND. Please review to this documentation for a more detailed explanation: https://stackoverflow.com/questions/51957676/helm-install-in-certain-order. I have validated this by a chart with these dependencies servicemesh chart.yaml
example chart.yaml
The following values:
upgrade/install log
This resulted in the ordering of resources as described in the above StackOverflow post all LIKE resources will be installed together. DeamonSets will be installed first then deployments, but will NOT validate that daemon sets are up and healthy. Please refer to here for the current order: https://github.com/helm/helm/blob/eeac83883cb4014fe60267ec6373570374ce770b/pkg/releaseutil/kind_sorter.go#L31 Custom Resource Definition Example/Issuetrying to install a certificate with a dependency of cert-manager:
Error:
This condition fails because the helm cli prepares and checks installations KINDs before installed, in which case the cert-manager chart is not actually installed Workaround: Values.yaml
Chart.yaml
crds/cert-manager-crds.yaml
template/issuer.yaml
While this workaround does function, we now have a condition where we have to disable CRDs installed in one location while also enabling them in another. This could be very confusing to the end-user. This solution also requires a fork of the CRDs. Using Helm post-render functionality could elevate this use-case by applying the custom objects post-deployment, but would be a requirement |
Beta Was this translation helpful? Give feedback.
-
helm charts that use namespaces as values issuesI want to open the discussion about how both Istio and Linkerd handle namespace values in chart. Linkerd has a value in the chart called
Same thing is expected for the istio chart
If the namespace set in the chart values linkerd do not exist it breaks the installation because it expects those to exist. log
Note: the Linkerd and Istio not following the practice of using the release namespace could be at fault here. Current list of hem charts that if this issue
|
Beta Was this translation helpful? Give feedback.
-
This discussion thread is to collect use cases and the issues the CX team has run into.
Beta Was this translation helpful? Give feedback.
All reactions