Skip to content

Commit

Permalink
feat: adding es auth environment vars (#3501)
Browse files Browse the repository at this point in the history
  • Loading branch information
erbrjr authored Apr 30, 2023
1 parent 781265e commit 3fcab27
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/zipkin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ spec:
value: "{{ .hosts }}"
- name: ES_INDEX
value: "{{ .index }}"
- name: ES_USERNAME
value: "{{ .username }}"
- name: ES_PASSWORD
value: "{{ .password }}"
- name: ES_SSL_NO_VERIFY
value: "{{ default false .sslNoVerify }}"
{{- end }}
{{- end }}
{{- range $key, $value := .Values.zipkin.extraEnv }}
Expand Down
9 changes: 9 additions & 0 deletions charts/zipkin/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,15 @@
},
"index": {
"type": "string"
},
"sslNoVerify": {
"type": "boolean"
},
"username": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": ["hosts", "index"]
Expand Down

0 comments on commit 3fcab27

Please sign in to comment.