Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions todo-backend/charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ appVersion: 31.0.0.Final
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 13.1.5
version: 16.2.2
- name: wildfly
repository: http://docs.wildfly.org/wildfly-charts/
version: 2.3.2
version: 2.3.2
12 changes: 7 additions & 5 deletions todo-backend/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# Declare variables to be passed into your templates.

postgresql:
image:
repository: bitnami/postgresql
tag: 17
auth:
username: todos-db
password: todos-db
Expand Down Expand Up @@ -46,8 +49,7 @@ wildfly:
value: "96"
initContainers:
- name: check-db-ready
image: postgres:9.6.5
command: [ 'sh', '-c',
'until pg_isready -h todo-backend-postgresql -p 5432;
do echo waiting for database; sleep 2; done;' ]

image: busybox:1.36
command: ['sh', '-c',
'until nc -z -v -w 2 todo-backend-postgresql 5432;
do echo "waiting for database"; sleep 2; done;']
Loading