Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support existing secret for external DB #1783

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

cest-pas-faux
Copy link

@cest-pas-faux cest-pas-faux commented Jun 26, 2024

Hi,

This PR adds the ability to specify an existing secret for all the DB configurations (host, port, user, password, coreDatabase).

Tests done with this updated chart :

  • Reference an existing secret and setting existingSecret.enabled: true
  • Hardcode the connection configuration values under external and set existingSecret.enabled: false

Both tests are successful, pull/push images OK.

Signed-off-by: Alexandre DEFRASNE <[email protected]>
Signed-off-by: Alexandre DEFRASNE <[email protected]>
Signed-off-by: Alexandre DEFRASNE <[email protected]>
Signed-off-by: Alexandre DEFRASNE <[email protected]>
Signed-off-by: Alexandre DEFRASNE <[email protected]>
@cest-pas-faux cest-pas-faux marked this pull request as ready for review June 26, 2024 18:54
Signed-off-by: Alexandre DEFRASNE <[email protected]>
@MinerYang
Copy link
Collaborator

Hi @cest-pas-faux ,

I don't think these settings expect password need to be mounted as secret, configmap is enough for them.
And it will better align with our other values conventions

Best,
Miner

@cest-pas-faux
Copy link
Author

cest-pas-faux commented Jul 11, 2024

Hi @MinerYang, thanks for this review

The password stored as secret is the current behavior and has not been introduced by me, see templates below :

I didn't want to create a breaking change by removing this secret which is shared by different components.
How to you want me to proceed ?

@cest-pas-faux
Copy link
Author

Hi @MinerYang , any updates on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants