mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kibana] Enabling environment from secrets (#14854)
* [stable/kibana] Enabling environment from secrets Signed-off-by: Endre Czirbesz <endre.czirbesz@rungway.com> * [stable/kibana] Fixing indentation Signed-off-by: Endre Czirbesz <endre.czirbesz@rungway.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
108bfc0321
commit
3000fc2b72
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: kibana
|
||||
version: 3.0.0
|
||||
version: 3.1.0
|
||||
appVersion: 6.7.0
|
||||
description: Kibana is an open source data visualization plugin for Elasticsearch
|
||||
icon: https://raw.githubusercontent.com/elastic/kibana/master/src/ui/public/icons/kibana-color.svg
|
||||
|
||||
@@ -42,6 +42,9 @@ The following table lists the configurable parameters of the kibana chart and th
|
||||
| ------------------------------------------ | ---------------------------------------------------------------------- | ------------------------------------- |
|
||||
| `affinity` | node/pod affinities | None |
|
||||
| `env` | Environment variables to configure Kibana | `{}` |
|
||||
| `envFromSecrets` | Environment variables from secrets to the cronjob container | {} |
|
||||
| `envFromSecrets.*.from.secret` | - `secretKeyRef.name` used for environment variable | |
|
||||
| `envFromSecrets.*.from.key` | - `secretKeyRef.key` used for environment variable | |
|
||||
| `files` | Kibana configuration files | None |
|
||||
| `livenessProbe.enabled` | livenessProbe to be enabled? | `false` |
|
||||
| `livenessProbe.path` | path for livenessProbe | `/status` |
|
||||
|
||||
@@ -140,6 +140,15 @@ spec:
|
||||
- name: "{{ $key }}"
|
||||
value: "{{ $value }}"
|
||||
{{- end }}
|
||||
{{- if .Values.envFromSecrets }}
|
||||
{{- range $key,$value := .Values.envFromSecrets }}
|
||||
- name: {{ $key | upper | quote}}
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ $value.from.secret | quote}}
|
||||
key: {{ $value.from.key | quote}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if (not .Values.authProxyEnabled) }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.service.internalPort }}
|
||||
|
||||
Reference in New Issue
Block a user