Skip to content
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

Merged
merged 7 commits into from
Jul 25, 2024

Conversation

pvannierop
Copy link
Collaborator

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:

{{ ternary "HTTPS" "HTTP" .Values.tls_enabled | quote }}

@pvannierop pvannierop requested a review from keyvaann July 19, 2024 12:08
@pvannierop pvannierop self-assigned this Jul 19, 2024
Copy link

github-actions bot commented Jul 19, 2024

Great PR! Please pay attention to the following items before merging:

Files matching charts/*/values.yaml:

  • Is the PR adding a new container? Please reviewer, add it to the models (internal process)
  • Is the PR adding a new parameter? Please, ensure it’s documented in the README.md

This is an automatically generated QA checklist based on modified files.

@pvannierop pvannierop force-pushed the feature/allow-http-urls branch 2 times, most recently from ba9b687 to a91b947 Compare July 22, 2024 11:58
Copy link
Collaborator

@keyvaann keyvaann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pvannierop pvannierop force-pushed the feature/allow-http-urls branch 5 times, most recently from 132b955 to df77c35 Compare July 23, 2024 10:48
@@ -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)) }}
Copy link
Collaborator

@keyvaann keyvaann Jul 23, 2024

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@pvannierop pvannierop force-pushed the feature/allow-http-urls branch from df77c35 to 7eeebe2 Compare July 24, 2024 06:10
@pvannierop pvannierop force-pushed the feature/allow-http-urls branch 2 times, most recently from b62d460 to 7e5507d Compare July 24, 2024 07:16
@pvannierop pvannierop requested a review from keyvaann July 25, 2024 07:20
@pvannierop pvannierop force-pushed the feature/allow-http-urls branch from 7e5507d to 66c11aa Compare July 25, 2024 07:50
@pvannierop pvannierop force-pushed the feature/allow-http-urls branch from 6c8ab0e to 290d194 Compare July 25, 2024 07:55
Copy link
Collaborator

@keyvaann keyvaann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pvannierop pvannierop merged commit 648ecae into main Jul 25, 2024
5 checks passed
@Bdegraaf1234 Bdegraaf1234 deleted the feature/allow-http-urls branch August 19, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants