-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat(argo-cd)!: refactor ingress to support any backend service #1826
Conversation
Signed-off-by: Jacek Domagalski <domagalski.j@gmail.com>
Let me know if you think this is the right direction. If so I would adjust not only argo-cd server but other components of argo-cd and their corresponding values |
# -- Ingress path type. One of `Exact`, `Prefix` or `ImplementationSpecific` | ||
pathType: Prefix | ||
# -- Additional ingress paths | ||
- path: / |
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.
This is the same as extraPaths
just below that allow following configuration:
extraPaths:
- path: /*
pathType: Prefix
backend:
service:
name: ssl-redirect
port:
name: https
@@ -29,36 +29,27 @@ spec: | |||
rules: | |||
{{- if .Values.server.ingress.hosts }} | |||
{{- range $host := .Values.server.ingress.hosts }} | |||
{{- if and $.Values.server.ingressGrpc.isAWSALB $.Values.server.ingressGrpc.enabled }} | |||
{{ $serviceName = printf "%s-grpc" (include "argo-cd.server.fullname" $) }} |
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.
This will break AWS integration. AWS ALB requires 2 ingress routes (1st for http / https, 2nd for grpc traffic targeting grpc service with ALB annotations)
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 was not aware of this. @pdrastil thanks for review, I will cancel this PR
Resolves:
Signed-off-by: Jacek Domagalski domagalski.j@gmail.com
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist:
Changes are automatically published when merged to
main
. They are not published on branches.