Skip to content

Commit

Permalink
docs: update Ingress examples (#8369)
Browse files Browse the repository at this point in the history
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
  • Loading branch information
chetan-rns authored Mar 31, 2022
1 parent f892110 commit ba0c249
Showing 1 changed file with 52 additions and 23 deletions.
75 changes: 52 additions & 23 deletions docs/operator-manual/ingress.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,13 @@ spec:
- host: internal.path.to.argocd.io
http:
paths:
- backend:
serviceName: argocd-server
servicePort: http
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
name: http
tls:
- hosts:
- internal.path.to.argocd.io
Expand All @@ -117,9 +121,13 @@ spec:
- host: grpc-internal.path.to.argocd.io
http:
paths:
- backend:
serviceName: argocd-server
servicePort: https
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
name: https
tls:
- hosts:
- grpc-internal.path.to.argocd.io
Expand All @@ -141,9 +149,12 @@ spec:
http:
paths:
- path: /api/dex/callback
pathType: Prefix
backend:
serviceName: argocd-server
servicePort: http
service:
name: argocd-server
port:
name: http
tls:
- hosts:
- external.path.to.argocd.io
Expand Down Expand Up @@ -196,9 +207,13 @@ spec:
- host: argocd.example.com
http:
paths:
- backend:
serviceName: argocd-server
servicePort: https
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
name: https
```

The above rule terminates TLS at the Argo CD API server, which detects the protocol being used,
Expand Down Expand Up @@ -261,9 +276,13 @@ spec:
rules:
- http:
paths:
- backend:
serviceName: argocd-server
servicePort: http
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
name: http
host: argocd.example.com
tls:
- hosts:
Expand All @@ -285,9 +304,13 @@ spec:
rules:
- http:
paths:
- backend:
serviceName: argocd-server
servicePort: https
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
name: https
host: grpc.argocd.example.com
tls:
- hosts:
Expand Down Expand Up @@ -399,13 +422,19 @@ Once we create this service, we can configure the Ingress to conditionally route
- host: argocd.argoproj.io
http:
paths:
- backend:
serviceName: argogrpc
servicePort: 443
- path: /
backend:
service:
name: argogrpc
port:
number: 443
pathType: ImplementationSpecific
- backend:
serviceName: argocd-server
servicePort: 443
- path: /
backend:
service:
name: argocd-server
port:
number: 443
pathType: ImplementationSpecific
tls:
- hosts:
Expand Down

0 comments on commit ba0c249

Please sign in to comment.