Updating charts to use common resource template
[oom.git] / kubernetes / log / charts / log-logstash / templates / deployment.yaml
index 7d0fc6e..86b1a8c 100644 (file)
@@ -50,7 +50,7 @@ spec:
           image: "{{ .Values.global.loggingRepository| default .Values.loggingRepository }}/{{ .Values.image }}"
           imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
           resources:
-{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }}
+{{ include "common.resources" . | indent 12 }}
           ports:
           - containerPort: {{ .Values.service.internalPort }}
             name: {{ .Values.service.name }}