Replies: 1 comment 1 reply
-
per currently design, DB setting is a kind of system settings, it has to restart core to make it work. If you want refresh the credentials, you have to update the env about the DB password in the core container. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there anyway to tell harbor to connect to an external database with a connection string like
service=harbor
?We're trying to get harbor working with Vault database credentials which are short lived and injected into containers by the vault-agent. I assume that having vault-agent updating the
harbor.yml
regularly will not be enough, as we'd need to trigger a reload of the configuration by harbor. In the past we've had vault-agent simply provide apg_service.conf
file and by setting the envPGSERVICEFILE=
we can rely onlibpq
to reread that file on connection ensuring updated creds.From the template config, I'm not sure this can be done.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions