sparse-intern-71089
10/04/2021, 6:09 PMbillowy-army-68599
billowy-army-68599
sparse-park-68967
10/04/2021, 6:41 PMdry-autumn-28966
10/05/2021, 12:12 AMsparse-park-68967
10/05/2021, 12:45 AMsparse-park-68967
10/05/2021, 12:46 AMdry-autumn-28966
10/05/2021, 1:27 AMdry-autumn-28966
10/05/2021, 9:58 PMsparse-park-68967
10/05/2021, 9:59 PMsparse-park-68967
10/06/2021, 4:26 AMsparse-park-68967
10/06/2021, 5:39 AMsparse-park-68967
10/06/2021, 5:40 AMdry-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/1754dry-autumn-28966
10/08/2021, 12:31 AMsparse-park-68967
10/11/2021, 6:35 PMdry-autumn-28966
10/16/2021, 7:10 PMdry-autumn-28966
10/25/2021, 4:52 PM