breezy-cricket-4027712/03/2020, 9:54 AM
and then I have my own method to generate an hash out of it, then
encode to put in a k8s secret. My question is, how can I make sure that my
method is only called if the
method gets called and generates a different hash.. so all the dependencies that I have on that also get regenerated 😕
way of handling this, or do I have to change my underlying method to always return the same output given one input?
brave-planet-1064512/03/2020, 10:04 AM
breezy-cricket-4027712/03/2020, 10:27 AM
doesn’t change, pulumi doesn’t run my function. Just tried it and it works fine. Thank you @brave-planet-10645 👍
brave-planet-1064512/03/2020, 10:38 AM
breezy-cricket-4027712/03/2020, 10:38 AM
v2 basic auth btw. Then on the secret, I just call this method with the desired
. Ofc, can be adapted for multiple users.
to a Kubernetes secret (instead of
) and the k8s API will base64 encode it: always useful to know
wet-soccer-7248512/03/2020, 10:27 PM