diff --git a/infrastructures/argo-workflows/base/ingress.yaml b/infrastructures/argo-workflows/base/ingress.yaml new file mode 100644 index 0000000..b98f429 --- /dev/null +++ b/infrastructures/argo-workflows/base/ingress.yaml @@ -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 \ No newline at end of file diff --git a/infrastructures/argo-workflows/base/kustomization.yaml b/infrastructures/argo-workflows/base/kustomization.yaml index 8e8f3e7..39c7883 100644 --- a/infrastructures/argo-workflows/base/kustomization.yaml +++ b/infrastructures/argo-workflows/base/kustomization.yaml @@ -11,4 +11,5 @@ resources: - ./secret.yaml - ./svc.yaml - ./pc.yaml - - ./deployment.yaml \ No newline at end of file + - ./deployment.yaml + - ./ingress.yaml \ No newline at end of file