Resources: Fix erroneous resource definitions

This fixes the resource trees for the fluent-logging and
openstack-exporter charts to match the other charts. This
also fixes the elasticsearch master template to use the
correct indentation level for the resource template

Change-Id: Ic6ec270a880216daff10d1f22128c6377ebf9933
This commit is contained in:
Steve Wilkerson 2018-07-27 11:12:31 -05:00
parent a72ef08c59
commit 397eebf995
3 changed files with 3 additions and 4 deletions

View File

@ -119,7 +119,7 @@ spec:
- IPC_LOCK
- SYS_RESOURCE
{{ tuple $envAll "elasticsearch" | include "helm-toolkit.snippets.image" | indent 10 }}
{{ tuple $envAll $envAll.Values.pod.resources.master | include "helm-toolkit.snippets.kubernetes_resources" | indent 8 }}
{{ tuple $envAll $envAll.Values.pod.resources.master | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
command:
- /tmp/elasticsearch.sh
- start

View File

@ -337,8 +337,8 @@ pod:
fluentd: 3
prometheus_fluentd_exporter: 1
resources:
enabled: false
fluentbit:
enabled: false
limits:
memory: '400Mi'
cpu: '400m'
@ -346,7 +346,6 @@ pod:
memory: '100Mi'
cpu: '100m'
fluentd:
enabled: false
limits:
memory: '1024Mi'
cpu: '2000m'

View File

@ -62,7 +62,7 @@ pod:
timeout: 30
resources:
enabled: false
kube_state_metrics:
prometheus_openstack_exporter:
requests:
memory: "128Mi"
cpu: "100m"