Skip to content

Commit

Permalink
Fix labels for the Backup selector (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhizerJaan committed Jun 10, 2024
2 parents 022ab30 + 108fc60 commit 7c829ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
# Changelog

All notable changes to this project will be documented here.

### v4.1.3
- BugFix: Only add application name label to Backup Template

### v4.1.2
- BugFix: Incorrect selectorLabels were previously added to the Backup Template
-

### v4.1.1
- Feature: Edit Backup template

Expand Down
2 changes: 1 addition & 1 deletion application/templates/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
labelSelector:
matchLabels:
{{ include "application.labels" . | nindent 6 }}
app.kubernetes.io/part-of: {{ include "application.name" . }}
includedNamespaces:
- {{ include "application.namespace" . }}
defaultVolumesToRestic: {{ .Values.backup.defaultVolumesToRestic | default true }}
Expand Down

0 comments on commit 7c829ba

Please sign in to comment.