[stable/concourse] Fix postgres and ldap deployment variables (#8378)

* Fix CONCOURSE_LDAP_BIND_DN condition

Signed-off-by: Anton Ustyuzhanin <au@hellofresh.com>

* Fix postgres sslmode vars

Signed-off-by: Anton Ustyuzhanin <au@hellofresh.com>

* Bump chart patch version

Signed-off-by: Anton Ustyuzhanin <au@hellofresh.com>
This commit is contained in:
Anton Ustyuzhanin
2018-10-11 09:12:49 -07:00
committed by k8s-ci-robot
parent b9bdc24135
commit ef93e2aa1d
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: concourse
version: 2.0.0
version: 2.0.1
appVersion: 4.2.1
description: Concourse is a simple and scalable CI system.
icon: https://avatars1.githubusercontent.com/u/7809479
@@ -187,13 +187,15 @@ spec:
value: {{ .Values.concourse.web.postgres.sslmode }}
{{- end }}
{{- if not (eq (default "disable" .Values.concourse.web.postgres.sslmode) "disable") }}
- name: CONCOURSE_VAULT_CA_CERT
- name: CONCOURSE_POSTGRES_CA_CERT
value: "/concourse-postgresql/ca.cert"
{{- if eq .Values.concourse.web.postgres.sslmode "required" }}
- name: CONCOURSE_POSTGRES_CLIENT_CERT
value: "/concourse-postgresql/client.cert"
- name: CONCOURSE_POSTGRES_CLIENT_KEY
value: "/concourse-postgresql/client.key"
{{- end }}
{{- end }}
{{- if .Values.concourse.web.postgres.connectTimeout }}
- name: CONCOURSE_POSTGRES_CONNECT_TIMEOUT
value: {{ .Values.concourse.web.postgres.connectTimeout }}
@@ -642,7 +644,7 @@ spec:
{{- end }}
{{- if .Values.concourse.web.auth.ldap.enabled }}
{{- if .Values.web.BindDn }}
{{- if .Values.concourse.web.auth.ldap.bindDn }}
- name: CONCOURSE_LDAP_BIND_DN
value: {{ .Values.concourse.web.auth.ldap.bindDn }}
{{- end }}