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
use values.yaml when testing for postgres readiness #1143
use values.yaml when testing for postgres readiness #1143
Conversation
Thank you for opening this pull request! 🙌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
helm/templates/admin/deployment.yaml
Outdated
@@ -24,7 +24,7 @@ spec: | |||
command: | |||
- sh | |||
- -c | |||
- until pg_isready -h postgres -p 5432; do echo waiting for database; sleep 2; done; | |||
- until pg_isready -h {{ .Values.db.datbase.host }} -p {{ .Values.db.database.port }}; do echo waiting for database; sleep 2; done; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit : Values.db.database.host
Looks like the test is failing because neither values-gcp.yaml or values.yaml specify a database config. This causes the helm output to have |
@ajsalow the test fails because you need to run Background: |
Sorry @ajsalow could you rebase against master and re-run |
Signed-off-by: ajsalow <ajsalow@umich.edu>
Signed-off-by: ajsalow <ajsalow@umich.edu>
d5e860b
to
45aa4f8
Compare
@sbrunk Thanks for the help. Hopefully it is good to go now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. LGTM!
Congrats on merging your first pull request! 🎉 |
Signed-off-by: ajsalow ajsalow@umich.edu
Close #1142