diff --git a/code-analysis/templates/andromeda.yaml b/code-analysis/templates/andromeda.yaml index b9bf25b..5a9c097 100644 --- a/code-analysis/templates/andromeda.yaml +++ b/code-analysis/templates/andromeda.yaml @@ -270,7 +270,7 @@ spec: operator: {{ .Values.node.affinity.operator }} {{- end}} {{- end }} - {{- if .Values.andromeda.node.affinity }} + {{- if .Values.andromeda.node.toleration.enable }} tolerations: - key: {{ .Values.andromeda.node.toleration.key }} operator: {{ .Values.andromeda.node.toleration.operator }}