diff options
Diffstat (limited to 'kubernetes/log/templates/elasticsearch-deployment.yaml')
-rw-r--r-- | kubernetes/log/templates/elasticsearch-deployment.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/log/templates/elasticsearch-deployment.yaml b/kubernetes/log/templates/elasticsearch-deployment.yaml index 75df8a16e1..f0db31a289 100644 --- a/kubernetes/log/templates/elasticsearch-deployment.yaml +++ b/kubernetes/log/templates/elasticsearch-deployment.yaml @@ -1,3 +1,4 @@ +#{{ if not .Values.disableLogElasticsearch }} apiVersion: extensions/v1beta1 kind: Deployment metadata: @@ -78,4 +79,5 @@ metadata: name: elasticsearch-configmap namespace: {{ .Values.nsPrefix }}-log data: -{{ (.Files.Glob "resources/elasticsearch/conf/elasticsearch.yml").AsConfig | indent 2 }}
\ No newline at end of file +{{ (.Files.Glob "resources/elasticsearch/conf/elasticsearch.yml").AsConfig | indent 2 }} +#{{ end }}
\ No newline at end of file |