Updating charts to use common resource template
[oom.git] / kubernetes / log / charts / log-kibana / templates / deployment.yaml
index a39dfe6..ac52f62 100644 (file)
@@ -51,7 +51,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 }}