Updating charts to use common resource template
[oom.git] / kubernetes / sdnc / charts / dmaap-listener / templates / deployment.yaml
index d69d67d..7a5b1f2 100644 (file)
@@ -77,7 +77,7 @@ spec:
           name: properties
           subPath: aai.properties
         resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}