From 3d8bacd08735765b62380ec144ac748345913ebb Mon Sep 17 00:00:00 2001 From: Latif Yildirim <113920287+latifyildirim@users.noreply.github.com> Date: Thu, 2 May 2024 22:37:12 +0200 Subject: [PATCH] Update ingress.yaml --- infra/ingress.yaml | 48 ++++++++++++++++------------------------------ 1 file changed, 16 insertions(+), 32 deletions(-) diff --git a/infra/ingress.yaml b/infra/ingress.yaml index 83cf3a2e..480ade85 100644 --- a/infra/ingress.yaml +++ b/infra/ingress.yaml @@ -17,37 +17,21 @@ spec: - www.kitapkurdu.xyz secretName: kitapkurdu-tls rules: - - host: kitapkurdu.xyz + - host: '*.kitapkurdu.xyz' http: paths: - - path: / - backend: - service: - name: frontend-service - port: - number: 80 - pathType: Prefix - - path: /api - backend: - service: - name: backend-service - port: - number: 80 - pathType: Prefix - - host: www.kitapkurdu.xyz - http: - paths: - - backend: - service: - name: frontend-service - port: - number: 80 - path: / - pathType: Prefix - - backend: - service: - name: backend-service - port: - number: 80 - path: /api - pathType: Prefix + - path: / + pathType: Prefix + backend: + service: + name: frontend-service + port: + number: 80 + - path: /api + pathType: Prefix + backend: + service: + name: backend-service + port: + number: 80 +