When installing Artifactory with our artifactory/artifactory-ha chart, you can choose to deploy a bundled postgresql database ( It is enabled by default unless you turn it off. For production grade installations it is recommended to use an external PostgreSQL instead ), in order to bootstrap with your own database credentials, you need to modify the following in the values.yaml
postgresql: enabled: true postgresqlUsername: artifactory postgresqlPassword: ""
To avoid passing explicit credentials in values.yaml, you can pass the credentials with an existing secret:
postgresql: enabled: true postgresqlPassword: existingSecret: secretName
The secret should have the following:
postgresql-password ( needed )
postgresql-replication-password ( needed if postgresql.replication is enabled )
postgresql-ldap-password ( needed if postgresql.ldap is enabled )
postgresql-postgres-password ( needed if postgresql.username is not postgres)