EUGENIO SOUZA CARVALHO 4 years ago
parent
commit
cdfb3d600b
1 changed files with 21 additions and 2 deletions
  1. 21 2
      argoworkflow/040-ingress.yaml

+ 21 - 2
argoworkflow/040-ingress.yaml

@@ -1,7 +1,7 @@
 apiVersion: traefik.containo.us/v1alpha1
 apiVersion: traefik.containo.us/v1alpha1
 kind: IngressRoute
 kind: IngressRoute
 metadata:
 metadata:
-  name: argoworkflow-server-ingress
+  name: app-server-ingress
   # namespace: argo-events
   # namespace: argo-events
   annotations:
   annotations:
     traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
     traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
@@ -15,4 +15,23 @@ spec:
         - name: github-gateway
         - name: github-gateway
           port: 12000
           port: 12000
   tls:
   tls:
-    secretName: monteasua-com-br-tls
+    secretName: monteasua-com-br-tls
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+  name: argoworkflow-server-ingress
+  namespace: argo-events
+  annotations:
+    traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
+spec:
+  entryPoints:
+    - websecure
+  routes:
+    - match: Host(`argoworkflow.monteasua.com.br`)
+      kind: Rule
+      services:
+        - name: argo-server
+          port: 2746
+  tls:
+    secretName: monteasua-com-br-tls