Skip to content

Commit

Permalink
Add labels in backup CR (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaKhan220 committed Sep 6, 2024
2 parents 500a1ab + 0818c02 commit 1df2e74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/templates/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1df2e74

Please sign in to comment.