Support opensearch
Change-Id: I1a3854d31193a69f0fc97c62d78c3e395c94b37e
diff --git a/logging/opendistro_setting/templates/deployment.yml b/logging/opendistro_setting/templates/deployment.yml
index b1e43f4..af9515c 100644
--- a/logging/opendistro_setting/templates/deployment.yml
+++ b/logging/opendistro_setting/templates/deployment.yml
@@ -22,6 +22,12 @@
env:
- name: ES_URL
value: "{{ .Values.elasticsearch.host }}:{{ .Values.elasticsearch.port}}"
+ - name: AUTH_USERNAME
+ value: "{{ .Values.elasticsearch.auth.username}}"
+ - name: AUTH_PASSWORD
+ value: "{{ .Values.elasticsearch.auth.password}}"
+ - name: SKIP_TLS
+ value: "{{ .Values.elasticsearch.auth.skip_tls}}"
{{ if .Values.configuration.setting }}
- name: SETTING_DIR
value: "{{ .Values.configuration.base_dir }}/{{ .Values.configuration.setting }}"