From 4a7651ca87423c61f946c2c8f05daf3d53e26295 Mon Sep 17 00:00:00 2001 From: Leo Lapworth Date: Mon, 12 Aug 2024 16:58:56 +0100 Subject: [PATCH] Mount the api container at /api on the web interface --- .../test-smoke/environments/prod/ingress.yaml | 22 ++----------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/apps/test-smoke/environments/prod/ingress.yaml b/apps/test-smoke/environments/prod/ingress.yaml index 86a417c..42b20d6 100644 --- a/apps/test-smoke/environments/prod/ingress.yaml +++ b/apps/test-smoke/environments/prod/ingress.yaml @@ -21,28 +21,10 @@ spec: name: testsmoke-web port: number: 80 ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: testsmoke-api - annotations: - cert-manager.io/cluster-issuer: letsencrypt-production -spec: - ingressClassName: nginx - tls: - - hosts: - - testsmoke-api.do.metacpan.org - secretName: api-tls - rules: - - host: testsmoke-api.do.metacpan.org - http: - paths: - pathType: Prefix - path: "/" + path: "/api" backend: service: name: testsmoke-api port: - number: 80 - + number: 80 \ No newline at end of file