https://pulumi.com logo
#general
Title
# general
b

bitter-dentist-28132

01/14/2020, 4:27 PM
i'm installing cert-manager via yaml and i have
Copy code
const certManager = new k8s.yaml.ConfigFile(yamlUrl, {}, {provider});
const dependsOn = certManager.resources.apply((resources: any): any => Object.values(resources));
const CLUSTER_ISSUER_YAML = `...`; // uses http01
const clusterIssuer = new k8s.yaml.ConfigGroup('cluster-issuer', {yaml: CLUSTER_ISSUER_YAML}, {provider, dependsOn});
so that the
ClusterIssuer
isn't installed until after everything else is. now i'm also adding a secret so that i can do a
dns01
solver using digitalocean. is there a way to add the secret to
dependsOn
? basically, to merge two `apply`s? or would i have to create the secret with the first
dependsOn
, and then do a
pulumi.all
to merge the two `ConfigGroup`s' resources?
5 Views