Updating charts to use common resource template
[oom.git] / kubernetes / aai / charts / aai-elasticsearch / templates / deployment.yaml
index e1f3b39..a6c93b8 100644 (file)
@@ -87,7 +87,7 @@ spec:
           - name: elasticsearch-data
             mountPath: /usr/share/elasticsearch/data
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 8 }}