Hi, I am trying to get the kubernetes provider to render yaml using `const provider = new k8s.Provider("render-yaml", { renderYamlToDirectory:
rendered
});`
Naturally, this works on my machine but I cannot get it to create the files on other machines or the CI environment using the same plugin versions (pulumi v3.131.0 and kubernetes 4.15.0).
The only difference I can spot is that locally
pulumi preview
prints the additional line with
rendered file ..
which is not printed on the other environments.
kubernetes:apps/v1:Deployment (backend-api):
warning: rendered YAML will contain a secret value in plaintext
warning: rendered YAML will contain a secret value in plaintext
warning: rendered file /home/work/..../1-manifest/apps_v1-deployment-.....yaml contains a secret value in plaintext
I tried looking at the provider code and
rendered file
is printed in
Create()
and
Update()
methods so my only guess is that for some reason these are not invoked.
Setting
PULUMI_K8S_ENABLE_SERVER_SIDE_APPLY=false
does not create the yaml files locally but setting it to true on the other environments does not help.