diff --git a/todo-backend/charts/Chart.yaml b/todo-backend/charts/Chart.yaml index 124cce3c6d..b8750279ba 100644 --- a/todo-backend/charts/Chart.yaml +++ b/todo-backend/charts/Chart.yaml @@ -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 \ No newline at end of file diff --git a/todo-backend/charts/values.yaml b/todo-backend/charts/values.yaml index 84b1697f16..f621bfbbef 100644 --- a/todo-backend/charts/values.yaml +++ b/todo-backend/charts/values.yaml @@ -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 @@ -46,8 +49,7 @@ wildfly: value: "96" initContainers: - name: check-db-ready - image: postgres:9.6.5 + image: bitnami/postgresql:17 command: [ 'sh', '-c', - 'until pg_isready -h todo-backend-postgresql -p 5432; + 'until pg_isready -h todo-backend-postgresql -p 5432; do echo waiting for database; sleep 2; done;' ] -