Updating charts to use common resource template
[oom.git] / kubernetes / aai / charts / aai-graphadmin / templates / deployment.yaml
index 69aeb32..5b23fa6 100644 (file)
@@ -123,7 +123,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 }}