https://pulumi.com logo
q

quiet-wolf-18467

05/08/2020, 3:50 PM
Pulumi doesn't have a bcrypt provider to avoid this, does it?
g

gentle-diamond-70147

05/08/2020, 6:31 PM
Our pulumi-random provider provides stable random values if that's what you're looking for.
q

quiet-wolf-18467

05/08/2020, 7:15 PM
@gentle-diamond-70147 No. Unfortunately, I need to provide a bcrypted string to a Kubernetes secret
I'm using
Copy code
argocdServerAdminPassword: adminPassword.result.apply(
                            (password) => bcrypt.hash(password, 512)
                        ),
but because bcrypt is different everytime, this forces a delete and recreate
3 Views