Skip to content

Commit

Permalink
tenant namespaces can be added in includeNamespace while the default …
Browse files Browse the repository at this point in the history
…backup namespace would be the -system namespace (#355)
  • Loading branch information
TehreemNisa authored Nov 6, 2024
2 parents e511f27 + d647ae6 commit 657b4d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion application/templates/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
matchLabels:
app.kubernetes.io/part-of: {{ include "application.name" . }}
includedNamespaces:
- {{ include "application.namespace" . }}
- {{ .Values.backup.includedNamespace | default ( include "application.namespace" . ) | quote }}
defaultVolumesToRestic: {{ .Values.backup.defaultVolumesToRestic }}
snapshotVolumes: {{ .Values.backup.snapshotVolumes }}
storageLocation: {{ .Values.backup.storageLocation | quote }}
Expand Down
1 change: 1 addition & 0 deletions application/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,7 @@ backup:
namespace:
# -- (object) Additional labels for Backup.
# @section -- Backup Parameters
includedNamespaces:
additionalLabels:
# grafanaDashboard: grafana-operator
# -- (object) Annotations for Backup.
Expand Down

0 comments on commit 657b4d8

Please sign in to comment.