File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ kind: DaemonSet
6
6
metadata :
7
7
name : node-agent
8
8
namespace : {{ .Release.Namespace }}
9
- {{- with .Values.nodeAgent.annotations }}
10
- annotations :
11
- {{- toYaml . | nindent 4 }}
12
- {{- end }}
13
9
labels :
14
10
app.kubernetes.io/name : {{ include "velero.name" . }}
15
11
app.kubernetes.io/instance : {{ .Release.Name }}
33
29
{{- if .Values.podLabels }}
34
30
{{- toYaml .Values.podLabels | nindent 8 }}
35
31
{{- end }}
36
- {{- if or .Values.podAnnotations .Values.metrics.enabled (and .Values.credentials.useSecret (not .Values.credentials.existingSecret)) }}
32
+ {{- if or .Values.nodeAgent.annotations .Values.metrics.enabled (and .Values.credentials.useSecret (not .Values.credentials.existingSecret)) }}
37
33
annotations :
38
- {{- with .Values.podAnnotations }}
34
+ {{- with .Values.nodeAgent.annotations }}
39
35
{{- toYaml . | nindent 8 }}
40
36
{{- end }}
41
37
{{- if and (.Values.metrics.enabled) (not .Values.metrics.nodeAgentPodMonitor.enabled) }}
You can’t perform that action at this time.
0 commit comments