Skip to content

Commit

Permalink
fix lint failed. (#45)
Browse files Browse the repository at this point in the history
* fix lint failed.

* fix
  • Loading branch information
innerpeacez authored Mar 24, 2020
1 parent e2cf8ef commit 525b933
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
2 changes: 2 additions & 0 deletions chart/skywalking/templates/es-init.job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions chart/skywalking/templates/oap-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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 }}
Expand Down
12 changes: 6 additions & 6 deletions chart/skywalking/values-es6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
12 changes: 6 additions & 6 deletions chart/skywalking/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 525b933

Please sign in to comment.