Updating charts to use common resource template
[oom.git] / kubernetes / appc / charts / appc-cdt / templates / deployment.yaml
index 1288183..2192662 100644 (file)
@@ -65,7 +65,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 }}