Hi guys , For some helm charts , you will need to ...
# kubernetes
s
Hi guys , For some helm charts , you will need to apply first your CRD definition object than your crd instance. I’m wondering if there is a way to indicate that via Pulumi . Thanks #kubernetes #helm
g
Pulumi automatically retries resource creation, so you generally don’t have to do anything special to make this work if the CRD is defined in the same Chart. In cases where the CRD is a defined in separate Chart or manifest, you can use the
dependsOn
resource option to ensure that it’s created first (although it might still work fine with the built in retry). Here’s an example for Istio: https://github.com/pulumi/pulumi-kubernetes/blob/master/tests/integration/istio/step1/istio.ts#L43-L69