Merge pull request #3382 from ThoreKr/helm-secretenv

Helm: Introduce secretEnv for secret value provisioning
This commit is contained in:
Lauri Ojansivu 2020-12-03 07:00:07 +02:00 committed by GitHub
commit f576d2f356
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 1 deletions

View file

@ -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/

View file

@ -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: /

View file

@ -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