Database credentials can also be supplied with a secret.
For this release, we are installing a bundled postgresql, so we will just pass the credentials with properties
$ export POSTGRES_USERNAME=artifactory $ export POSTGRES_PASSWORD=password
# Pass the value to helm $ helm upgrade --install <myrelease> --namespace artifactory-ha jfrog/artifactory-ha --set postgresql.postgresqlPassword=${POSTGRES_PASSWORD} --set postgresql.postgresqlUsername=${POSTGRES_USERNAME}
We can also let the release generates a random password and retrieve it from a secret.