-
Notifications
You must be signed in to change notification settings - Fork 97
Use HTTPS port for Ingress when enabled #100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
dab52f2
190dc29
7015adb
372f006
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,9 @@ | ||
| {{- if .Values.ingress.enabled -}} | ||
| {{- $fullName := include "dex.fullname" . -}} | ||
| {{- $svcPort := .Values.service.ports.http.port -}} | ||
| {{- if .Values.https.enabled -}} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd like to avoid forcing HTTPS there. Let's make it optional.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What method would you prefer to make this optional? Add an extra option to the Ingress object? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @nabokihms Really would appreciate this being merged in, maybe some more information on whether we should add a flag to the ingress to use HTTPS port?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry for the delay. Yes, I think an option for an ingress object will work. |
||
| {{- $svcPort = .Values.service.ports.https.port -}} | ||
JoooostB marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| {{- end -}} | ||
| {{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} | ||
| {{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }} | ||
| {{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}} | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.