Skip to content

Commit

Permalink
backup template fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaKhan220 committed May 20, 2024
1 parent d97cbd1 commit 38d2f40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion application/templates/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ metadata:
name: {{ printf "%s-backup" .Values.applicationName | trunc 63 | quote }}
namespace: {{ .Values.backup.namespace | default ( include "application.namespace" . ) | quote }}
spec:
labelSelector:
matchLabels:
{{ include "application.selectorLabels" . | indent 6 }}
includedNamespaces:
- {{ printf "%s" .Release.Namespace | quote }}
- {{ include "application.namespace" . }}
snapshotVolumes: {{ .Values.backup.snapshotVolumes | default true }}
storageLocation: {{ .Values.backup.storageLocation | quote }}
ttl: {{ .Values.backup.ttl | default "1h0m0s" }}
Expand Down

0 comments on commit 38d2f40

Please sign in to comment.