Skip to content

Commit 66ff882

Browse files
authored
Merge pull request #972 from kstekovi/WFLY-19898
[WFLY-19898] remove PostgreSQL internal image configuration
2 parents 63fbfaf + 96eb0da commit 66ff882

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

todo-backend/charts/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ appVersion: 31.0.0.Final
77
dependencies:
88
- name: postgresql
99
repository: https://charts.bitnami.com/bitnami
10-
version: 13.1.5
10+
version: 16.2.2
1111
- name: wildfly
1212
repository: http://docs.wildfly.org/wildfly-charts/
13-
version: 2.3.2
13+
version: 2.3.2

todo-backend/charts/values.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Declare variables to be passed into your templates.
44

55
postgresql:
6+
image:
7+
repository: bitnami/postgresql
8+
tag: 17
69
auth:
710
username: todos-db
811
password: todos-db
@@ -46,8 +49,7 @@ wildfly:
4649
value: "96"
4750
initContainers:
4851
- name: check-db-ready
49-
image: postgres:9.6.5
50-
command: [ 'sh', '-c',
51-
'until pg_isready -h todo-backend-postgresql -p 5432;
52-
do echo waiting for database; sleep 2; done;' ]
53-
52+
image: busybox:1.36
53+
command: ['sh', '-c',
54+
'until nc -z -v -w 2 todo-backend-postgresql 5432;
55+
do echo "waiting for database"; sleep 2; done;']

0 commit comments

Comments
 (0)