From 0818c0245fc1100ce751c1ca93548bfbf62c7d96 Mon Sep 17 00:00:00 2001 From: stakater-nordmart-bot Date: Fri, 6 Sep 2024 16:18:24 +0200 Subject: [PATCH] Add labels in backup CR --- application/templates/backup.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/templates/backup.yaml b/application/templates/backup.yaml index 76b93ad2..3fcdb05d 100644 --- a/application/templates/backup.yaml +++ b/application/templates/backup.yaml @@ -4,6 +4,8 @@ kind: Backup metadata: name: {{ printf "%s-backup" .Values.applicationName | trunc 63 | quote }} namespace: {{ .Values.backup.namespace | default ( include "application.namespace" . ) | quote }} + labels: + {{- include "application.labels" . | nindent 4 }} spec: labelSelector: matchLabels: