Updating charts to use common resource template
[oom.git] / kubernetes / aai / charts / aai-babel / templates / deployment.yaml
index 2f8f60f..c2aa6e4 100644 (file)
@@ -85,7 +85,7 @@ spec:
             name: {{ include "common.fullname" . }}-config
             subPath: logback.xml
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}