diff --git a/components/11-argo-workflows/ingress.yaml b/components/11-argo-workflows/ingress.yaml new file mode 100644 index 00000000..98b770b4 --- /dev/null +++ b/components/11-argo-workflows/ingress.yaml @@ -0,0 +1,26 @@ +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: argo-workflows + annotations: + cert-manager.io/cluster-issuer: selfsigned-cluster-issuer + nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" + nginx.ingress.kubernetes.io/force-ssl-redirect: "true" +spec: + ingressClassName: nginx + rules: + - host: argo-workflows.local + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: argo-server + port: + number: 2746 + tls: + - hosts: + - argo-workflows.local + secretName: argo-workflows-ingress-tls diff --git a/components/11-argo-workflows/kustomization.yaml b/components/11-argo-workflows/kustomization.yaml index ea2aa4c4..da0f470c 100644 --- a/components/11-argo-workflows/kustomization.yaml +++ b/components/11-argo-workflows/kustomization.yaml @@ -4,3 +4,4 @@ kind: Kustomization resources: - https://github.com/argoproj/argo-workflows/releases/download/v3.5.4/namespace-install.yaml + - ingress.yaml