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

Make it possible to override proxy settings #822

Merged
merged 2 commits into from
Jul 1, 2024
Merged

Conversation

bianchi2
Copy link
Collaborator

Addresses #821
Fallback to ingress settings if no config is provided for proxies.

@bianchi2 bianchi2 requested review from nanux and yzha645 as code owners June 20, 2024 08:48
@nanux
Copy link
Member

nanux commented Jun 25, 2024

Do we need to update the tests as well?

@bianchi2
Copy link
Collaborator Author

Existing tests did not fail, but it's worth adding the ones that will check this new behavior

@@ -34,8 +34,8 @@ data:
acceptCount="{{ .Values.bamboo.tomcatConfig.acceptCount | default "10" }}"
secure="{{ default (ternary "true" "false" .Values.ingress.https) .Values.bamboo.tomcatConfig.secure }}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shall these be vice versa as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Logically yes, but I doubt there's a valid use case to justify setting http in ingress and http in tomcatconfig.

@bianchi2 bianchi2 merged commit cd00069 into main Jul 1, 2024
3 checks passed
@bianchi2 bianchi2 deleted the fix-proxy-defaults branch July 1, 2024 22:06
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.

3 participants