Generated Passwords That Change
A chart generates a database password with randAlphaNum 24 in a Secret. Every helm upgrade changes it and breaks the app. What is the usual fix?
randAlphaNum 24
helm upgrade
Choose one answer
Mark the Secret as immutable: true.
immutable: true
Use randAlphaNum 48 so the password is longer.
randAlphaNum 48
Run every upgrade with --reuse-values so the old password is kept.
--reuse-values
Reuse the existing value via lookup, or pass it in.
lookup