-
Notifications
You must be signed in to change notification settings - Fork 5
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
Impl. external config of URLs hard-coded to HTTPS #227
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
ba9b687
to
a91b947
Compare
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.
LGTM
132b955
to
df77c35
Compare
@@ -49,6 +49,7 @@ spec: | |||
{{- toYaml .Values.securityContext | nindent 12 }} | |||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" | |||
imagePullPolicy: {{ .Values.image.pullPolicy }} | |||
{{ $https := ternary "http" "https" (or .Values.disable_tls (not .Values.ingress.tls)) }} |
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.
Let's put this on top of the file
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.
Done!
df77c35
to
7eeebe2
Compare
b62d460
to
7e5507d
Compare
7e5507d
to
66c11aa
Compare
6c8ab0e
to
290d194
Compare
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.
LGTM
In order to run and test on a system w/o TLS (e.g., local development system or CI system) some URLs hard-coded to the HTTPS protocol were made configurable.
Discuss
An alternative would be to add a single value disable_tls that selectively chooses between HTTP and HTTPS protocols. This is done f.i. in the Minio chart: