dry-autumn-28966
10/04/2021, 6:09 PMvalues
(Go automation API) doesn’t trigger an update during Up() operations. I can see the new value in the stack state file but not when I run helm get values <release>
. I have tried setting Replace=true / ForceUpdate=true / ResetValues=true but no luck. Am I doing something wrong?billowy-army-68599
10/04/2021, 6:13 PMsparse-park-68967
10/04/2021, 6:41 PMdry-autumn-28966
10/05/2021, 12:12 AMsparse-park-68967
10/05/2021, 12:45 AMdry-autumn-28966
10/05/2021, 1:27 AMsparse-park-68967
10/05/2021, 9:59 PMdry-autumn-28966
10/06/2021, 2:47 PMk8s
stack that is responsible for generating a KubeConfig file and create a few k8s resources (Namespace / Secrets). The kubeconfig that is generated has a token that is only going to be valid for a couple of hours.
My app
stack requires the KubeConfig file from k8s
via StackReference to deploy an Helm chart and various k8s resources… Now this is where things get tricky:
• I want to refresh the app
stack before running up
• Pulumi doesn’t refresh providers during refresh, so it may run with an expired KubeConfig and fail.
The only solution I found is to run the following actions:
• Run up against k8s
to refresh KubeConfig
• Run targeted up against app
stack’s Stack
and K8s provider
resources.
• Run app
refresh
• Run app
up
It works fine but then I hit the Helm issue https://github.com/pulumi/pulumi-kubernetes/issues/1754sparse-park-68967
10/11/2021, 6:35 PMdry-autumn-28966
10/16/2021, 7:10 PM