Ordering of Helm subcharts
According to the documentation here it is possible to declare dependencies in Heln charts using the charts subdirectory. However, the order in which the K8s resources will be deployed depends on the implementation of kind_sorter.go. Here only native K8s resources will be taken into account.
Now I've got a Helm chart dependency with no native K8s resources at all. Instead only Tekton pipeline resources are used which obviously (after several attempts) makes the order of the deployed Tekton resources unpredictable.
Actually I want to have these Tekton resources deployed:
And I have created this chart structure to achieve it (of course with all the necessary files in place):
As mentioned the order is not predictable and mostly the pipeline run is started before the tasks are available which leads to an error.
Now I'm not sure if this is worth a feature request which says to include not only native K8s resources but instead all resources available inside the cluster.
I'd like to hear some opinions. Thanks!