Skip to content

Commit 1309ab0

Browse files
maxsxuWyatt Fry
authored and
Wyatt Fry
committed
fix: render schedule annotations only if present in values (vmware-tanzu#616)
Signed-off-by: Max Xu <[email protected]> Signed-off-by: Wyatt Fry <[email protected]>
1 parent fe3784a commit 1309ab0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/velero/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: 1.14.1
33
kubeVersion: ">=1.16.0-0"
44
description: A Helm chart for velero
55
name: velero
6-
version: 7.2.0
6+
version: 7.2.1
77
home: https://github.com/vmware-tanzu/velero
88
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
99
sources:

charts/velero/templates/schedule.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ kind: Schedule
55
metadata:
66
name: {{ include "velero.fullname" $ }}-{{ $scheduleName }}
77
namespace: {{ $.Release.Namespace }}
8-
annotations:
98
{{- if $schedule.annotations }}
9+
annotations:
1010
{{- toYaml $schedule.annotations | nindent 4 }}
1111
{{- end }}
1212
labels:

0 commit comments

Comments
 (0)