https://pulumi.com logo
#python
Title
# python
a

alert-monitor-28534

11/28/2019, 3:14 PM
I have to run `pulumi up`twice since the `CustomResource`creation fails after using
Chart
, how would I make sure that required CRD has been created before Pulumi continues to create the
CustomResource
?
Copy code
kubernetes:<http://ceph.rook.io:CephCluster|ceph.rook.io:CephCluster> (ceph-cluster):
    error: creation of resource rook-ceph/ceph-cluster-ko368t5u failed because the Kubernetes API server reported that the apiVersion for this resource does not exist. Verify that any required CRDs have been created: no matches for kind "CephCluster" in version "<http://ceph.rook.io/v1|ceph.rook.io/v1>"
OK, I tried to use
depends_on
but I think I got hit by this one: https://github.com/pulumi/pulumi-kubernetes/issues/861
25 Views