mirror of https://github.com/linkerd/linkerd2.git
Fix component label value for smi-metrics anti-affinity (#4260)
Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com>
This commit is contained in:
parent
7d07504b5b
commit
3e5b5ae299
|
@ -49,7 +49,7 @@ spec:
|
|||
spec:
|
||||
{{- include "linkerd.node-selector" . | nindent 6 }}
|
||||
{{- if .Values.enablePodAntiAffinity -}}
|
||||
{{- $local := dict "component" "tap" "label" .Values.global.controllerComponentLabel -}}
|
||||
{{- $local := dict "component" "smi-metrics" "label" .Values.global.controllerComponentLabel -}}
|
||||
{{- include "linkerd.pod-affinity" $local | nindent 6 -}}
|
||||
{{- end }}
|
||||
serviceAccountName: linkerd-smi-metrics
|
||||
|
|
Loading…
Reference in New Issue