-
Notifications
You must be signed in to change notification settings - Fork 19
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
[common]: add ingress defaultBackend #106
Conversation
3069e13
to
d52a7df
Compare
Signed-off-by: Tobias Harnickell <[email protected]>
Signed-off-by: Tobias Harnickell <[email protected]>
Signed-off-by: Tobias Harnickell <[email protected]>
Signed-off-by: Tobias Harnickell <[email protected]>
Signed-off-by: Tobias Harnickell <[email protected]>
7eb6031
to
417fe3b
Compare
Thanks for contributing @TobyTheHutt! According to the ingress doc for DefaultBackends: If you intend to create an ingress resource that is backed by a single Service, then you should assure, that no rules are set in the ingress resource, if I understand the doc correct: |
Hi @brjos |
I'd say: because you already invested time: why not just make sure that no |
The defaultBackend config of the Ingress is now exclusive and cannot be used together with Ingress rules. Signed-off-by: Tobias Harnickell <[email protected]>
@brjos I made the options exclusive, so that only one of |
Added if/else conditions to either configure a defaultBackend or backends with rules. TLS is not possible when defaultBackend is set. Signed-off-by: Tobias Harnickell <[email protected]>
conditional between `defaultBackend` and `rules` simplified. Signed-off-by: Tobias Harnickell <[email protected]>
5823ca4
to
2463981
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
What this PR does:
This PR enables the possibility to define a default Backend for ingresses.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged):none
Notes for Reviewer:
Checklist:
[chart]: Changed Something
README.md.gotmpl
file and executedhelm-docs