Merge "Use common.resources in aaf-sshsm-abrmd template"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 25 Sep 2020 08:49:16 +0000 (08:49 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 25 Sep 2020 08:49:16 +0000 (08:49 +0000)
1  2 
kubernetes/aaf/components/aaf-sshsm/charts/aaf-sshsm-abrmd/templates/job.yaml

@@@ -48,9 -48,10 +48,9 @@@ spec
          - name: {{ include "common.fullname" . }}-tpmconfig
            mountPath: "/abrmd/cred/"
            readOnly: true
-         resources: {{ toYaml .Values.resources | nindent 10 }}
+         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 -}}