Skip to content

Commit

Permalink
add support for custom environment variables to the server deployment (
Browse files Browse the repository at this point in the history
…#291)

* add support for custom environment variables to the server deployment

* Update kiali-server/values.yaml

---------

Co-authored-by: John Mazzitelli <[email protected]>
  • Loading branch information
andrewrothstein and jmazzitelli authored Oct 16, 2024
1 parent fd1c62f commit 947b55a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kiali-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ spec:
value: "{{ .Values.deployment.logger.time_field_format }}"
- name: LOG_SAMPLER_RATE
value: "{{ .Values.deployment.logger.sampler_rate }}"
{{- range .Values.deployment.custom_envs }}
- name: {{ .name | quote }}
value: {{ .value | quote }}
{{- end }}
volumeMounts:
- name: {{ include "kiali-server.fullname" . }}-configuration
mountPath: "/kiali-configuration"
Expand Down
1 change: 1 addition & 0 deletions kiali-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ deployment:
# For more control over what the Kial Service Account can see, use the Kiali Operator.
cluster_wide_access: true
configmap_annotations: {}
custom_envs: []
custom_secrets: []
dns:
config: {}
Expand Down

0 comments on commit 947b55a

Please sign in to comment.