sparse-intern-71089
08/06/2020, 8:13 AMkind-mechanic-53546
08/06/2020, 9:29 AMconst promSetup0 = new k8s.yaml.ConfigGroup(
"promSetup0",
{
files: [path.join("manifests/setup/", "prometheus-operator-0*.yaml")],
},
{ provider: conf.k8sClusterConfig.provider }
);
const promSetup1 = new k8s.yaml.ConfigGroup(
"promSetup1",
{
files: [path.join("manifests/setup/", "prometheus-operator-[^0]*.yaml")],
},
{ provider: conf.k8sClusterConfig.provider, dependsOn: [promSetup0] }
);
const promMain = new k8s.yaml.ConfigGroup(
"promMain",
{
files: [path.join("manifests/", "*.yaml")],
},
{
provider: conf.k8sClusterConfig.provider,
dependsOn: [promSetup0, promSetup1],
}
);
I still get the errors, even with the dependsOn
attribute
I can get it to successfully deploy by commenting out promMain and promSetup1, then just promMain and doing up in between each step
Shouldn't dependsOn
wait for the dependent resource to fully create before starting?
Or is this a case of a delayed finish after reporting ok?