Updating charts to use common resource template
[oom.git] / kubernetes / appc / templates / statefulset.yaml
index 9453bd9..8ecda88 100644 (file)
@@ -145,7 +145,7 @@ spec:
             name: log-config
             subPath: org.ops4j.pax.logging.cfg
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
        {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}