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

fix(helm): database name as an environment variable #76

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

Conversation

nlamirault
Copy link

@nlamirault nlamirault commented Nov 16, 2024

close #77

Signed-off-by: Nicolas Lamirault <[email protected]>
@shahargl
Copy link
Member

hey @nlamirault, thanks for your contribution!

can I ask you to bump the version on Chart.yaml?

@shahargl shahargl self-requested a review November 16, 2024 17:46
Copy link
Member

@shahargl shahargl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please update the version too? to 0.1.41

@shahargl shahargl self-requested a review November 16, 2024 17:46
Signed-off-by: Nicolas Lamirault <[email protected]>
Signed-off-by: Nicolas Lamirault <[email protected]>
Copy link
Member

@shahargl shahargl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @nlamirault - e2e tests are failing.

I think you need to change

command: ['sh', '-c', 'until nc -z ${DATABASE_NAME} 3306; do sleep 1; done;']

to

command: ['sh', '-c', 'until nc -z {{ include "keep.findEnvVar" (list "DATABASE_NAME" .) | default "keep-database" }} 3306; do sleep 1; done;']

@shahargl shahargl self-requested a review November 17, 2024 13:54
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.

[FEAT]: Keep database not const
2 participants