Hi, Is there a way to update a kubernetes secret i...
# kubernetes
b
Hi, Is there a way to update a kubernetes secret into a pulumi program? The secret is generated by a helm chart that is installed by pulumi and the program has to change its secret. It’s actually for ArgoCD.
b
can you clarify? it's not clear what you want to do
b
Sure @billowy-army-68599. I have a pulumi program in which: 1. cluster is created 2. argoCD helm is deployed. It creates a secret 3. I need to update this secret My question is: can I do 3. with pulumi?
So my question is generic: can I change secrets with Pulumi?
b
@bumpy-laptop-30846 in your particular case, the helm chart has a secret. so you have two options: 1) you can use a transformation to modify the secret in the helm chart before it ever gets created 2) you can tell the helm chart not to create, and create your own You can't "change" anything that is not currently in the Pulumi state, unless you import it
👍 1