Skip to content

Commit 0851dbf

Browse files
committed
fix: render schedule annotations only if present in values
Signed-off-by: Max Xu <[email protected]>
1 parent d045b02 commit 0851dbf

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.0
33
kubeVersion: ">=1.16.0-0"
44
description: A Helm chart for velero
55
name: velero
6-
version: 7.1.5
6+
version: 7.1.6
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)