Skip to content

Commit

Permalink
[kube-oidc-proxy] fall back to default ca if custom ca isn't present
Browse files Browse the repository at this point in the history
  • Loading branch information
GoelDeepak committed Jan 17, 2020
1 parent 483390b commit 8e7480d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions staging/kube-oidc-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ spec:
- "--oidc-username-claim=$(OIDC_USERNAME_CLAIM)"
{{- if or .Values.oidc.caPEM .Values.oidc.caSecretName }}
- "--oidc-ca-file=/etc/oidc/oidc-ca.pem"
{{- else }}
- "--oidc-ca-file=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
{{ end }}
{{- if .Values.oidc.usernamePrefix }}
- "--oidc-username-prefix=$(OIDC_USERNAME_PREFIX)"
Expand Down

0 comments on commit 8e7480d

Please sign in to comment.