sparse-intern-71089
09/30/2020, 6:56 PMgorgeous-egg-16927
09/30/2020, 8:07 PMpulumi stack export --version=<previous-version-number> > out
followed by
pulumi stack import --file=out
mammoth-afternoon-82670
09/30/2020, 8:12 PMmammoth-afternoon-82670
09/30/2020, 8:13 PMpulumi refresh --target urn:cluster
and it got the new kubeconfig, but as soon as I tried doing a pulumi refresh
it warns that the cluster is unreachable, and if by mistake I hit confirm, it deletes all the resources.mammoth-afternoon-82670
09/30/2020, 8:20 PMkubeconfig
updated when using DigitalOcean clusters: https://github.com/pulumi/examples/blob/master/digitalocean-ts-k8s/index.ts#L29-L36
But for some reason this is not working at all. It doesn't seem to catch the updated kubeconfig, and putting a pulumi.log.error
in the apply callback doesn't seem to fire to. I'm assuming this is never getting called after the first provisioning? Really confused right now and unable to properly debug it.gorgeous-egg-16927
09/30/2020, 8:49 PMpulumi config set kubeconfig ...
)gorgeous-egg-16927
09/30/2020, 8:49 PMmammoth-afternoon-82670
09/30/2020, 9:25 PMmammoth-afternoon-82670
09/30/2020, 9:26 PMmammoth-afternoon-82670
09/30/2020, 9:27 PMmammoth-afternoon-82670
09/30/2020, 9:33 PMgorgeous-egg-16927
09/30/2020, 9:41 PMmammoth-afternoon-82670
09/30/2020, 9:42 PMmammoth-afternoon-82670
09/30/2020, 9:42 PMmammoth-afternoon-82670
09/30/2020, 9:43 PMmammoth-afternoon-82670
09/30/2020, 9:45 PMmammoth-afternoon-82670
09/30/2020, 9:47 PMapply()
at least for the it's dependenciesgorgeous-egg-16927
09/30/2020, 9:56 PMmammoth-afternoon-82670
09/30/2020, 9:59 PMmammoth-afternoon-82670
09/30/2020, 9:59 PM