[stable/dex] https secret volume fix (#16271)

Signed-off-by: Vitaliy Dmitriev <vi7alya@gmail.com>
This commit is contained in:
Vitaliy Dmitriev
2019-08-15 13:04:35 -07:00
committed by Kubernetes Prow Robot
parent 1ef58a8a1c
commit 63e2458274
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: dex
version: 2.1.0
version: 2.1.1
appVersion: 2.17.0
description: CoreOS Dex
keywords:
+4
View File
@@ -72,8 +72,10 @@ spec:
volumeMounts:
- mountPath: /etc/dex/cfg
name: config
{{- if .Values.https }}
- mountPath: /etc/dex/tls/https/server
name: https-tls
{{- end }}
{{- if .Values.grpc }}
- mountPath: /etc/dex/tls/grpc/server
name: grpc-tls-server
@@ -91,10 +93,12 @@ spec:
path: config.yaml
secretName: {{ template "dex.fullname" . }}
name: config
{{- if .Values.https }}
- name: https-tls
secret:
defaultMode: 420
secretName: {{ $httpsTlsSecretName | quote }}
{{- end }}
{{- if .Values.grpc }}
- name: grpc-tls-server
secret:
+1
View File
@@ -81,6 +81,7 @@ certs:
image: gcr.io/google_containers/kubernetes-dashboard-init-amd64
imageTag: "v1.0.0"
imagePullPolicy: "IfNotPresent"
# Section below is relevant only when https termination is enabled
web:
create: true
activeDeadlineSeconds: 300