https://pulumi.com logo
#kubernetes
Title
# kubernetes
s

sticky-lighter-73941

01/07/2020, 2:02 PM
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

gorgeous-egg-16927

01/07/2020, 5:10 PM
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
22 Views