mysterious-dawn-40701
01/16/2022, 9:24 AMtimeout removing Node Template: Bad response statusCode [405]. Status [405 Method Not Allowed]. Body: [baseType=error, code=MethodNotAllow, message=Template is in use by a node.]
Is there any way to influence what order destroy will useechoing-dinner-19531
01/16/2022, 10:17 AMmysterious-dawn-40701
01/16/2022, 12:19 PMdependsOn
..
Probably this is something that the provider should be doing automatically.. but it is good enough as it is now.
Thanks a lot!echoing-dinner-19531
01/16/2022, 12:33 PMmysterious-dawn-40701
01/16/2022, 1:41 PM// Create cluster
const cluster = new rancher2.Cluster(this.name, cluster_args, {
provider: this.rancher.localAdmin,
dependsOn: Array.from(this.rancher.nodeTemplates.values()),
});
and it worksechoing-dinner-19531
01/16/2022, 2:38 PM