From e1fec7af9a37dc288ea1fd6f903c41fdda205a6a Mon Sep 17 00:00:00 2001 From: Caio Gomes Date: Sun, 23 Jun 2024 18:21:02 +0300 Subject: [PATCH] Adding host to ingress resource --- kubernetes/argocd/ingress.yaml | 50 +++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/kubernetes/argocd/ingress.yaml b/kubernetes/argocd/ingress.yaml index 49fc34e..b244e8f 100644 --- a/kubernetes/argocd/ingress.yaml +++ b/kubernetes/argocd/ingress.yaml @@ -11,14 +11,14 @@ metadata: namespace: argocd spec: ports: - - name: "443" - port: 443 - protocol: TCP - targetPort: 8080 + - name: "443" + port: 443 + protocol: TCP + targetPort: 8080 selector: app.kubernetes.io/name: argocd-server sessionAffinity: None - type: NodePort + type: NodePort --- apiVersion: networking.k8s.io/v1 kind: Ingress @@ -38,23 +38,23 @@ metadata: spec: ingressClassName: alb rules: - # - host: argocd.argoproj.io - - http: - paths: - - path: / - backend: - service: - name: argogrpc - port: - number: 443 - pathType: Prefix - - path: /argocd - backend: - service: - name: argocd-server - port: - number: 443 - pathType: Exact - # tls: - # - hosts: - # - argocd.argoproj.io + - host: argocd.argoproj.io + http: + paths: + - path: / + backend: + service: + name: argogrpc + port: + number: 443 + pathType: Prefix + - path: /argocd + backend: + service: + name: argocd-server + port: + number: 443 + pathType: Exact + tls: + - hosts: + - argocd.argoproj.io