未验证 提交 525b9333 编写于 作者: I innerpeacez 提交者: GitHub

fix lint failed. (#45)

* fix lint failed.

* fix
上级 e2cf8ef3
......@@ -55,6 +55,7 @@ spec:
{{- else }}
value: "{{ .Values.elasticsearch.config.host }}:{{ .Values.elasticsearch.config.port.http }}"
{{- end }}
{{- if not .Values.elasticsearch.enabled }}
{{- if .Values.elasticsearch.config.user }}
- name: SW_ES_USER
value: "{{ .Values.elasticsearch.config.user }}"
......@@ -63,6 +64,7 @@ spec:
- name: SW_ES_PASSWORD
value: "{{ .Values.elasticsearch.config.password }}"
{{- end }}
{{- end }}
{{- range $key, $value := .Values.oap.env }}
- name: {{ $key }}
value: {{ $value | quote }}
......
......@@ -126,6 +126,7 @@ spec:
{{- else }}
value: "{{ .Values.elasticsearch.config.host }}:{{ .Values.elasticsearch.config.port.http }}"
{{- end }}
{{- if not .Values.elasticsearch.enabled }}
{{- if .Values.elasticsearch.config.user }}
- name: SW_ES_USER
value: "{{ .Values.elasticsearch.config.user }}"
......@@ -134,6 +135,7 @@ spec:
- name: SW_ES_PASSWORD
value: "{{ .Values.elasticsearch.config.password }}"
{{- end }}
{{- end }}
{{- range $key, $value := .Values.oap.env }}
- name: {{ $key }}
value: {{ $value | quote }}
......
......@@ -100,12 +100,12 @@ ui:
elasticsearch:
enabled: true
# config:
# port:
# http: 9200
# host: elasticsearch # es service on kubernetes or host
# user: "xxx"
# password: "xxx"
config: # For users of an existing elasticsearch cluster,takes effect when `elasticsearch.enabled` is false
port:
http: 9200
host: elasticsearch # es service on kubernetes or host
user: "xxx" # [optional]
password: "xxx" # [optional]
clusterName: "elasticsearch"
nodeGroup: "master"
......
......@@ -100,12 +100,12 @@ ui:
elasticsearch:
enabled: true
# config:
# port:
# http: 9200
# host: elasticsearch # es service on kubernetes or host
# user: "xxx"
# password: "xxx"
config: # For users of an existing elasticsearch cluster,takes effect when `elasticsearch.enabled` is false
port:
http: 9200
host: elasticsearch # es service on kubernetes or host
user: "xxx" # [optional]
password: "xxx" # [optional]
clusterName: "elasticsearch"
nodeGroup: "master"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册