Skip to content

Commit

Permalink
fix ingresses tls (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiprafaj authored Jul 25, 2024
1 parent 045b8c5 commit 26ed2f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions charts/defguard/templates/ingress-grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ spec:
{{- end }}
{{- if .Values.ingress.grpc.tls }}
tls:
{{- range .Values.ingress.grpc.tls }}
- hosts:
- {{ .Values.ingress.grpc.host | quote }}
secretName: {{ .secretName }}
{{- end }}
secretName: {{ printf "%s-grpc-tls" .Values.ingress.grpc.host }}
{{- end }}
rules:
- host: {{ .Values.ingress.grpc.host | quote }}
Expand Down
4 changes: 1 addition & 3 deletions charts/defguard/templates/ingress-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ spec:
{{- end }}
{{- if .Values.ingress.web.tls }}
tls:
{{- range .Values.ingress.web.tls }}
- hosts:
- {{ .Values.ingress.web.host | quote }}
secretName: {{ .secretName }}
{{- end }}
secretName: {{ printf "%s-web-tls" .Values.ingress.web.host }}
{{- end }}
rules:
- host: {{ .Values.ingress.web.host | quote }}
Expand Down
4 changes: 2 additions & 2 deletions charts/defguard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ ingress:
className: ""
enabled: true
host: defguard-grpc.local
tls: []
tls: false
web:
annotations: {}
className: ""
enabled: true
host: defguard.local
tls: []
tls: false
existingJwtSecret: ""
ldap:
admin_group: ""
Expand Down

0 comments on commit 26ed2f2

Please sign in to comment.