Skip to content

Commit

Permalink
Update Argo Server docs Ingress apiVersion example
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Ensor <ian.ensor@krakentechnologies.ltd>
  • Loading branch information
enza252 committed Apr 4, 2024
1 parent 459b09d commit c0c8716
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions docs/argo-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Create a ingress, with the annotation `ingress.kubernetes.io/rewrite-target: /`:
>uses `nginx.ingress.kubernetes.io/backend-protocol`
```yaml
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argo-server
Expand All @@ -143,12 +143,15 @@ metadata:
nginx.ingress.kubernetes.io/backend-protocol: https # ingress-nginx
spec:
rules:
- http:
paths:
- backend:
serviceName: argo-server
servicePort: 2746
path: /argo(/|$)(.*)
- http:
paths:
- path: /argo(/|$)(.*)
pathType: Prefix
backend:
service:
name: argo-server
port:
number: 2746
```
[Learn more](https://github.com/argoproj/argo-workflows/issues/3080)
Expand Down

0 comments on commit c0c8716

Please sign in to comment.