summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd
diff options
context:
space:
mode:
authorJakub Latusek <j.latusek@samsung.com>2020-09-24 14:22:14 +0200
committerJakub Latusek <j.latusek@samsung.com>2020-09-24 14:38:39 +0200
commit8cddc58b86d4d9fff03550041f2ae8281ec27209 (patch)
treead051b274cc8663e46e96cb0b694ee4c4fab421c /kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd
parent7d54df7a616bfb92045e63b75600f6924851292a (diff)
Correction of the conditional statement
End of if statement end to early and not contains nodeLabel values Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: If945f9a15d059118b4d11781df1687db249f67da Issue-ID: OOM-2562
Diffstat (limited to 'kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd')
-rw-r--r--kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/job.yaml2
1 files changed, 1 insertions, 1 deletions
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 }}