Updating charts to use common resource template
[oom.git] / kubernetes / portal / charts / portal-zookeeper / templates / deployment.yaml
index 598d5ff..73056be 100644 (file)
@@ -54,7 +54,7 @@ spec:
             name: localtime
             readOnly: true
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}