Skip to content

Commit

Permalink
Keep ingress.useDefaultAnnotations: true functional without kong
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhpalm committed Jul 30, 2024
1 parent 4f7700b commit 8d283a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/kubernetes-dashboard/templates/networking/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ metadata:
cert-manager.io/cluster-issuer: {{ .Values.app.ingress.issuer.name }}
{{- end }}
{{- if .Values.app.ingress.useDefaultAnnotations }}
{{- if .Values.kong.enabled }}
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
{{- end }}
nginx.ingress.kubernetes.io/ssl-redirect: "true"
{{- end }}
{{- if not (eq .Values.app.ingress.path "/") }}
Expand Down

0 comments on commit 8d283a7

Please sign in to comment.