Introduce secretEnv for secret value provisioning

pull/3382/head
Thore 5 years ago
parent 36e29a405e
commit 03f565bf95
  1. 2
      helm/wekan/Chart.yaml
  2. 6
      helm/wekan/templates/deployment.yaml
  3. 8
      helm/wekan/values.yaml

@ -1,5 +1,5 @@
name: wekan
version: 1.0.1
version: 1.0.2
apiVersion: v1
description: Open Source kanban
home: https://wekan.github.io/

@ -43,6 +43,12 @@ spec:
value: {{ .value | quote }}
{{- end }}
{{- end }}
{{- range $key := .Values.secretEnv }}
{{- if .value }}
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
{{- end }}
livenessProbe:
httpGet:
path: /

@ -28,6 +28,14 @@ env:
- name: ""
value: ""
## Specify additional secret environmental variables for the
## Deployment. These can e.g. be provided by a Secret and allow
## to store passwords separately
##
secretEnv:
- name: ""
value: ""
service:
type: NodePort
port: 8080

Loading…
Cancel
Save