diff --git a/charts/brand-master-chart/templates/backend-deployment.yaml b/charts/brand-master-chart/templates/backend-deployment.yaml index 079a02c..8c50748 100644 --- a/charts/brand-master-chart/templates/backend-deployment.yaml +++ b/charts/brand-master-chart/templates/backend-deployment.yaml @@ -30,7 +30,7 @@ spec: {{- toYaml .Values.podSecurityContext | nindent 8 }} initContainers: - name: wait-for-postgres - image: harbor.dvirlabs.com/dockerhub/busybox:1.35 + image: harbor.dvirlabs.com/base-images/busybox:1.35 command: ['sh', '-c', 'until nc -z {{ include "brand-master.fullname" . }}-db-headless {{ .Values.postgres.port | default 5432 }}; do echo waiting for postgres; sleep 2; done;'] containers: - name: backend diff --git a/charts/brand-master-chart/templates/db-statefulset.yaml b/charts/brand-master-chart/templates/db-statefulset.yaml index 77be2a8..0499bb4 100644 --- a/charts/brand-master-chart/templates/db-statefulset.yaml +++ b/charts/brand-master-chart/templates/db-statefulset.yaml @@ -22,7 +22,7 @@ spec: fsGroup: 999 initContainers: - name: fix-permissions - image: harbor.dvirlabs.com/dockerhub/busybox:latest + image: harbor.dvirlabs.com/base-images/busybox:latest command: - sh - -c diff --git a/charts/brand-master-chart/values.yaml b/charts/brand-master-chart/values.yaml index 7525c6e..d9b3a40 100644 --- a/charts/brand-master-chart/values.yaml +++ b/charts/brand-master-chart/values.yaml @@ -105,7 +105,7 @@ frontend: postgres: name: db image: - repository: harbor.dvirlabs.com/dockerhub/postgres + repository: harbor.dvirlabs.com/base-images/postgres tag: "16-alpine" pullPolicy: IfNotPresent diff --git a/manifests/brand-master/values.yaml b/manifests/brand-master/values.yaml index c96513c..90a0e9b 100644 --- a/manifests/brand-master/values.yaml +++ b/manifests/brand-master/values.yaml @@ -98,7 +98,7 @@ frontend: postgres: name: db image: - repository: harbor.dvirlabs.com/dockerhub/postgres + repository: harbor.dvirlabs.com/base-images/postgres tag: "16-alpine" pullPolicy: IfNotPresent user: brand_master_user