From ccb67dcfdd2d7cdaf0642c2c59a726a3c3ee57bf Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Fri, 29 Sep 2023 16:11:46 +1000 Subject: [PATCH] remove spec.pod.metadata.labels from prebackuppods --- legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml | 4 ---- legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml | 4 ---- legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml | 4 ---- 3 files changed, 12 deletions(-) diff --git a/legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml b/legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml index 392761d7..3bb46e2f 100644 --- a/legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml +++ b/legacy/helmcharts/mariadb-dbaas/templates/prebackuppod.yaml @@ -33,10 +33,6 @@ spec: && cat $dump && rm $dump" fileExtension: .{{ include "mariadb-dbaas.fullname" . }}.sql pod: - metadata: - labels: - prebackuppod: {{ include "mariadb-dbaas.fullname" . }} - {{- include "mariadb-dbaas.labels" . | nindent 8 }} spec: containers: - args: diff --git a/legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml b/legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml index 4f893420..027107d6 100644 --- a/legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml +++ b/legacy/helmcharts/mongodb-dbaas/templates/prebackuppod.yaml @@ -11,10 +11,6 @@ spec: backupCommand: /bin/sh -c "mongodump --uri=mongodb://${BACKUP_DB_USER}:${BACKUP_DB_PASSWORD}@${BACKUP_DB_HOST}:${BACKUP_DB_PORT}/${BACKUP_DB_NAME}?ssl=true&sslInsecure=true&tls=true&tlsInsecure=true --archive" fileExtension: .{{ include "mongodb-dbaas.fullname" . }}.bson pod: - metadata: - labels: - prebackuppod: {{ include "mongodb-dbaas.fullname" . }} - {{- include "mongodb-dbaas.labels" . | nindent 8 }} spec: containers: - args: diff --git a/legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml b/legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml index c6465d2f..49588c9b 100644 --- a/legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml +++ b/legacy/helmcharts/postgres-dbaas/templates/prebackuppod.yaml @@ -19,10 +19,6 @@ spec: --format=t -w" fileExtension: .{{ include "postgres-dbaas.fullname" . }}.tar pod: - metadata: - labels: - prebackuppod: {{ include "postgres-dbaas.fullname" . }} - {{- include "postgres-dbaas.labels" . | nindent 8 }} spec: containers: - args: