https://pulumi.com logo
#kubernetes
Title
# kubernetes
p

proud-spoon-58287

08/06/2020, 9:46 AM
Copy code
Hi all, I have to update a secret, but `pulumi up`
does not show any changes. If I delete the secret using kubectl it does not get recreated the next time I do `pulumi up``
Copy code
Only chance I had so far is to destroy the cluster and recreate it (which is bad). I see that destroy has the flag -t, but it seems that the resource name I am using is wrong. Is there a better way to work with this?
Copy code
sdicola@C02WW0K9HV2T ~/I/p/x/s/ksqldb (master) [255]> pulumi destroy -t   kubernetes:core/v1:Secret.ksqldb-secret
Previewing destroy (dev):
     Type                 Name        Plan     Info
     pulumi:pulumi:Stack  ksqldb-dev           1 error
 
Diagnostics:
  pulumi:pulumi:Stack (ksqldb-dev):
    error: Target 'kubernetes:core/v1:Secret.ksqldb-secret' could not be found in the stack. Did you forget to escape $ in your shell?
8 Views