From 46d5cd7980c1490f2557d22b04ab696fe2b7e960 Mon Sep 17 00:00:00 2001 From: shreddedbacon Date: Wed, 20 Sep 2023 14:16:59 +1000 Subject: [PATCH] fix: set the image in prebackuppods --- legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml | 2 +- legacy/helmcharts/mariadb-dbaas/values.yaml | 1 - legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml | 2 +- legacy/helmcharts/mongodb-dbaas/values.yaml | 1 - legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml | 2 +- legacy/helmcharts/postgres-dbaas/values.yaml | 1 - 6 files changed, 3 insertions(+), 6 deletions(-) diff --git a/legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml b/legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml index 0e34f07d..083e0138 100644 --- a/legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml +++ b/legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml @@ -70,7 +70,7 @@ spec: key: {{ include "mariadb-dbaas.fullnameUppercase" . }}_READREPLICA_HOSTS name: lagoon-env {{- end }} - image: {{ .Values.imageCache }}{{ .Values.image }} + image: {{ .Values.imageCache }}uselagoon/database-tools:latest imagePullPolicy: Always name: {{ include "mariadb-dbaas.fullname" . }}-prebackuppod {{ end }} diff --git a/legacy/helmcharts/mariadb-dbaas/values.yaml b/legacy/helmcharts/mariadb-dbaas/values.yaml index e8465a24..38f8de1b 100644 --- a/legacy/helmcharts/mariadb-dbaas/values.yaml +++ b/legacy/helmcharts/mariadb-dbaas/values.yaml @@ -7,4 +7,3 @@ environment: "" readReplicaHosts: "" imageCache: "" -image: uselagoon/database-tools:latest \ No newline at end of file diff --git a/legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml b/legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml index 79973d33..ab2f0fcd 100644 --- a/legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml +++ b/legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml @@ -61,7 +61,7 @@ spec: configMapKeyRef: key: {{ include "mongodb-dbaas.fullnameUppercase" . }}_DB_AUTHTLS name: lagoon-env - image: {{ .Values.imageCache }}{{ .Values.image }} + image: {{ .Values.imageCache }}uselagoon/database-tools:latest imagePullPolicy: Always name: {{ include "mongodb-dbaas.fullname" . }}-prebackuppod {{ end }} diff --git a/legacy/helmcharts/mongodb-dbaas/values.yaml b/legacy/helmcharts/mongodb-dbaas/values.yaml index 56ec9476..495f8cc0 100644 --- a/legacy/helmcharts/mongodb-dbaas/values.yaml +++ b/legacy/helmcharts/mongodb-dbaas/values.yaml @@ -5,4 +5,3 @@ environment: "" imageCache: "" -image: uselagoon/database-tools:latest \ No newline at end of file diff --git a/legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml b/legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml index 782b6354..398f1d88 100644 --- a/legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml +++ b/legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml @@ -61,7 +61,7 @@ spec: key: {{ include "postgres-dbaas.fullnameUppercase" . }}_READREPLICA_HOSTS name: lagoon-env {{- end }} - image: {{ .Values.imageCache }}{{ .Values.image }} + image: {{ .Values.imageCache }}uselagoon/database-tools:latest imagePullPolicy: Always name: {{ include "postgres-dbaas.fullname" . }}-prebackuppod {{ end }} diff --git a/legacy/helmcharts/postgres-dbaas/values.yaml b/legacy/helmcharts/postgres-dbaas/values.yaml index 971581c3..03e79048 100644 --- a/legacy/helmcharts/postgres-dbaas/values.yaml +++ b/legacy/helmcharts/postgres-dbaas/values.yaml @@ -7,4 +7,3 @@ environment: "" readReplicaHosts: "" imageCache: "" -image: uselagoon/database-tools:latest \ No newline at end of file