Updating charts to use common resource template
[oom.git] / kubernetes / sdc / charts / sdc-onboarding-be / templates / deployment.yaml
index bc34246..ee5f78b 100644 (file)
@@ -67,7 +67,7 @@ spec:
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           env:
           - name: ENVNAME
             value: {{ .Values.global.env.name }}