-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Make host calculation more short and concise for che master #10509
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
Changes from all commits
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,8 +1,6 @@ | ||
| {{- define "keycloakHost" }} | ||
| {{- if eq .Values.global.serverStrategy "default-host" }} | ||
| {{- if or (eq .Values.global.serverStrategy "default-host") (eq .Values.global.serverStrategy "single-host") }} | ||
|
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. @i300543 Can you elaborate on why removing
Contributor
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. The behavior would change:
Contributor
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. regarding the cheHost change - (in kc_realm_user.sh) |
||
| {{- printf "%s" .Values.global.ingressDomain }} | ||
| {{- else if eq .Values.global.serverStrategy "single-host" }} | ||
| {{- printf "che-%s.%s" .Release.Namespace .Values.global.ingressDomain }} | ||
| {{- else }} | ||
| {{- printf "keycloak-%s.%s" .Release.Namespace .Values.global.ingressDomain }} | ||
| {{- end }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch.
Looks like one more hardcoded usage of
che-tlsis missing: certificate.yamlThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@i300543 Should
cerificate.yamlbe updated withsecretNamefrom configuration instead of hardcoded one?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, yes it probably should :)
the certificate.yaml only relevant to letsencrypt tls flow, and we dont use it anymore
so it never came up.
i guess i will upload 1 more commit.
this shouldn't require the whole selenium checkup again does it ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think no, it doesn't require the whole selenium checkup again