Updating charts to use common resource template
[oom.git] / kubernetes / appc / charts / appc-ansible-server / templates / deployment.yaml
index b7ef21f..b7dfcf7 100644 (file)
@@ -76,7 +76,7 @@ spec:
             subPath: RestServer_config
           resources:
         {{- if .Values.nodeSelector }}
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
         {{- end -}}