Updating charts to use common resource template
[oom.git] / kubernetes / aai / charts / aai-sparky-be / templates / deployment.yaml
index a6414dd..3ecbd80 100644 (file)
@@ -117,7 +117,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 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}