Database secret

ARTIFACTORY: Installation Quick Start Guide - Helm

AuthorFullName__c
Paul Pan
articleNumber
000005199
ft:sourceType
Salesforce
FirstPublishedDate
2022-01-13T19:22:21Z
lastModifiedDate
2024-03-13T08:56:30Z
VersionNumber
14

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.