We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb88989 commit c2e64ccCopy full SHA for c2e64cc
charts/velero/templates/_helpers.tpl
@@ -64,6 +64,13 @@ Create the Velero priority class name.
64
{{- end -}}
65
66
67
+{{/*
68
+Create the name of the node agent.
69
+*/}}
70
+{{- define "velero.nodeAgent" -}}
71
+ {{ default (printf "%s-%s" (include "velero.fullname" .) "node-agent") .Values.serviceAccount.server.name }}
72
+{{- end -}}
73
+
74
{{/*
75
Create the node-Agent priority class name.
76
*/}}
charts/velero/templates/node-agent-daemonset.yaml
@@ -4,7 +4,7 @@
4
apiVersion: apps/v1
5
kind: DaemonSet
6
metadata:
7
- name: node-agent
+ name: {{ include "velero.nodeAgent" . }}
8
namespace: {{ .Release.Namespace }}
9
{{- with .Values.nodeAgent.annotations }}
10
annotations:
0 commit comments