sparse-intern-71089
12/03/2020, 9:54 AMbreezy-cricket-40277
12/03/2020, 9:56 AMGenerateHashedPassword
is my method that returns a string
with the hash.breezy-cricket-40277
12/03/2020, 9:57 AMpreview
or up
the GeneratedHashedPassword
method gets called and generates a different hash.. so all the dependencies that I have on that also get regenerated 😕breezy-cricket-40277
12/03/2020, 9:58 AMpulumi
way of handling this, or do I have to change my underlying method to always return the same output given one input?brave-planet-10645
12/03/2020, 10:04 AMbreezy-cricket-40277
12/03/2020, 10:27 AMrandomPassword
doesn’t change, pulumi doesn’t run my function.
Just tried it and it works fine.
Thank you @brave-planet-10645 👍brave-planet-10645
12/03/2020, 10:38 AMbreezy-cricket-40277
12/03/2020, 10:38 AMtraefik
v2 basic auth btw.
Then on the secret, I just call this method with the desired user
.
Ofc, can be adapted for multiple users.billowy-army-68599
stringData
to a Kubernetes secret (instead of data
) and the k8s API will base64 encode it:
always useful to knowwet-soccer-72485
12/03/2020, 10:27 PM