add ingress for argo-server for app argo workflows
This commit is contained in:
21
infrastructures/argo-workflows/base/ingress.yaml
Normal file
21
infrastructures/argo-workflows/base/ingress.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: argo-workflows-ingress
|
||||||
|
namespace: argo
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||||
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: "argo-workflows.cluster.edward.sydney"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: "/"
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: argo-server
|
||||||
|
port:
|
||||||
|
number: 2746
|
||||||
@@ -11,4 +11,5 @@ resources:
|
|||||||
- ./secret.yaml
|
- ./secret.yaml
|
||||||
- ./svc.yaml
|
- ./svc.yaml
|
||||||
- ./pc.yaml
|
- ./pc.yaml
|
||||||
- ./deployment.yaml
|
- ./deployment.yaml
|
||||||
|
- ./ingress.yaml
|
||||||
Reference in New Issue
Block a user