Skip to content

Commit

Permalink
add tls config to ingress
Browse files Browse the repository at this point in the history
bump version of forwardauth chart to 2.0.13
  • Loading branch information
dniel committed Jan 29, 2021
1 parent 41d10df commit dd17dfc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/forwardauth/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "2.0-rc1"
description: A Helm chart for Kubernetes to install Auth0 Authorization application for Traefik forward authentication.
name: forwardauth
version: 2.0.12
version: 2.0.13
9 changes: 8 additions & 1 deletion charts/forwardauth/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ spec:
backend:
serviceName: {{ $fullName }}
servicePort: {{ $servicePort }}

{{- if .Values.ingress.tls }}
tls:
{{ toYaml .Values.ingress.tls | indent 4 }}
{{- end -}}
{{- end }}

{{- if .Values.mode.host -}}
Expand All @@ -52,5 +55,9 @@ spec:
- backend:
serviceName: {{ $fullName }}
servicePort: {{ $servicePort }}
{{- if .Values.ingress.tls }}
tls:
{{ toYaml .Values.ingress.tls | indent 4 }}
{{- end -}}
{{- end -}}
{{- end }}

0 comments on commit dd17dfc

Please sign in to comment.