mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
cerebro: range over .Values.env to set specific auth settings (#15351)
Signed-off-by: Sebastien Doido <s.doido@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
6185240ae3
commit
52103a9d86
@@ -1,5 +1,5 @@
|
||||
name: cerebro
|
||||
version: 1.1.2
|
||||
version: 1.1.3
|
||||
appVersion: 0.8.3
|
||||
apiVersion: v1
|
||||
description: A Helm chart for Cerebro - a web admin tool that replaces Kopf.
|
||||
|
||||
@@ -62,6 +62,7 @@ The following table lists the configurable parameters of the cerebro chart and t
|
||||
| `nodeSelector` | Settings for nodeselector | `{}` |
|
||||
| `tolerations` | Settings for toleration | `{}` |
|
||||
| `affinity` | Settings for affinity | `{}` |
|
||||
| `env` | Map of env vars (key/value ) | `{}` |
|
||||
| `envFromSecretRef` | Reference to Secret with env vars | |
|
||||
| `config.basePath` | Application base path | `/` |
|
||||
| `config.restHistorySize` | Rest request history size per user | `50` |
|
||||
|
||||
@@ -54,6 +54,13 @@ spec:
|
||||
mountPath: /var/db/cerebro
|
||||
- name: config
|
||||
mountPath: /etc/cerebro
|
||||
{{- if .Values.env }}
|
||||
env:
|
||||
{{- range $index, $element := .Values.env }}
|
||||
- name: {{ $index | quote }}
|
||||
value: {{ $element | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.envFromSecretRef }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
replicaCount: 1
|
||||
revisionHistoryLimit: 3
|
||||
env:
|
||||
# AUTH_TYPE: "basic"
|
||||
# BASIC_AUTH_USER: "admin"
|
||||
|
||||
image:
|
||||
repository: lmenezes/cerebro
|
||||
|
||||
Reference in New Issue
Block a user