diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index e9802342..0da4aa2c 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -3,11 +3,11 @@ appVersion: 1.14.0 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 7.1.2 +version: 7.2.0 home: https://github.com/vmware-tanzu/velero icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png sources: -- https://github.com/vmware-tanzu/velero + - https://github.com/vmware-tanzu/velero maintainers: - name: jenting email: hsiaoairplane@gmail.com diff --git a/charts/velero/templates/_helpers.tpl b/charts/velero/templates/_helpers.tpl index 00d97db4..900ff00e 100644 --- a/charts/velero/templates/_helpers.tpl +++ b/charts/velero/templates/_helpers.tpl @@ -64,6 +64,13 @@ Create the Velero priority class name. {{- end -}} {{- end -}} +{{/* +Create the name of the node agent. +*/}} +{{- define "velero.nodeAgent" -}} + {{ printf "%s-%s" (include "velero.fullname" .) "node-agent" }} +{{- end -}} + {{/* Create the node-Agent priority class name. */}} diff --git a/charts/velero/templates/node-agent-daemonset.yaml b/charts/velero/templates/node-agent-daemonset.yaml index 68fedf3f..6d9b23cc 100644 --- a/charts/velero/templates/node-agent-daemonset.yaml +++ b/charts/velero/templates/node-agent-daemonset.yaml @@ -4,7 +4,7 @@ apiVersion: apps/v1 kind: DaemonSet metadata: - name: node-agent + name: {{ include "velero.nodeAgent" . }} namespace: {{ .Release.Namespace }} {{- with .Values.nodeAgent.annotations }} annotations: