From 8cddc58b86d4d9fff03550041f2ae8281ec27209 Mon Sep 17 00:00:00 2001 From: Jakub Latusek Date: Thu, 24 Sep 2020 14:22:14 +0200 Subject: Correction of the conditional statement End of if statement end to early and not contains nodeLabel values Signed-off-by: Jakub Latusek Change-Id: If945f9a15d059118b4d11781df1687db249f67da Issue-ID: OOM-2562 --- .../aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/job.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/aaf/components/aaf-sshsm') diff --git a/kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/job.yaml b/kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/job.yaml index 23fe79d716..9bb5937877 100644 --- a/kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/job.yaml +++ b/kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/job.yaml @@ -51,10 +51,10 @@ spec: resources: {{ toYaml .Values.resources | nindent 10 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }} - {{- end -}} {{- if .Values.global.tpm.enabled }} {{ (printf "%s: \"%s\"" .Values.global.tpm.nodeLabel .Values.global.tpm.nodeLabelValue) }} {{- end -}} + {{- end -}} {{- if .Values.affinity }} affinity: {{ toYaml .Values.affinity | nindent 8 }} {{- end }} -- cgit 1.2.3-korg