Merge "Remove fields not defined in jobs specification"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 25 Sep 2020 11:21:46 +0000 (11:21 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 25 Sep 2020 11:21:46 +0000 (11:21 +0000)
1  2 
kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/job.yaml

@@@ -51,14 -51,13 +51,13 @@@ spec
          resources: {{ include "common.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 }}
-       resources: {{ include "common.resources" . | nindent 10 }}
        volumes:
        - name: {{ include "common.fullname" . }}-data
          persistentVolumeClaim: