Updating charts to use common resource template
[oom.git] / kubernetes / sdc / charts / sdc-es / templates / deployment.yaml
index 9fd394b..c3d9600 100644 (file)
@@ -53,7 +53,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 }}