concourse: consume local-users from k8s secret (#8099)

instead of directly from helm chart. k8s secret will use the chart value
 as a default, so functionality is not lost

Signed-off-by: Chris Hiestand <chrishiestand@gmail.com>
This commit is contained in:
Chris Hiestand
2018-11-04 07:11:14 -08:00
committed by k8s-ci-robot
parent 12b6bbbfb9
commit db4db2bff7
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: concourse
version: 2.1.0
version: 2.1.1
appVersion: 4.2.1
description: Concourse is a simple and scalable CI system.
icon: https://avatars1.githubusercontent.com/u/7809479
@@ -49,7 +49,10 @@ spec:
{{- end }}
{{- if .Values.concourse.web.localAuth.enabled }}
- name: CONCOURSE_ADD_LOCAL_USER
value: {{ .Values.secrets.localUsers | quote }}
valueFrom:
secretKeyRef:
name: {{ template "concourse.concourse.fullname" . }}
key: local-users
{{- end }}
{{- if .Values.concourse.web.tlsBindPort }}
- name: CONCOURSE_TLS_BIND_PORT