From d3d2805d20eaf192207df82745e5b839e56e9fae Mon Sep 17 00:00:00 2001 From: terjebra Date: Thu, 5 Dec 2024 09:33:29 +0100 Subject: [PATCH] Updated ingressclassname --- .../k8s/deployment-ingress-test.yml | 25 +++++++++---------- .../Deployment/k8s/pr-deployment-env.yml | 2 +- .../k8s/deployment-ingress-test.yml | 24 +++++++++--------- .../Deployment/k8s/pr-deployment-env.yml | 2 +- 4 files changed, 26 insertions(+), 27 deletions(-) diff --git a/src/Fusion.Summary.Api/Deployment/k8s/deployment-ingress-test.yml b/src/Fusion.Summary.Api/Deployment/k8s/deployment-ingress-test.yml index 36ac0e984..35510221c 100644 --- a/src/Fusion.Summary.Api/Deployment/k8s/deployment-ingress-test.yml +++ b/src/Fusion.Summary.Api/Deployment/k8s/deployment-ingress-test.yml @@ -1,30 +1,29 @@ - apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: summary-api-fusiondev-ingress annotations: kubernetes.io/tls-acme: "true" - kubernetes.io/ingress.class: nginx + kubernetes.io/ingress.class: ingress-nginx-fusiondev nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/proxy-buffer-size: "32k" nginx.org/client-max-body-size: "50m" nginx.ingress.kubernetes.io/client-max-body-size: "50m" nginx.ingress.kubernetes.io/proxy-body-size: "50m" spec: - ingressClassName: nginx + ingressClassName: ingress-nginx-fusiondev tls: - - hosts: - - fra-summary.{{ENVNAME}}.api.fusion-dev.net - secretName: wildcard-tls-cert + - hosts: + - fra-summary.{{ENVNAME}}.api.fusion-dev.net + secretName: wildcard-tls-cert rules: - host: fra-summary.{{ENVNAME}}.api.fusion-dev.net http: paths: - - path: / - pathType: Prefix - backend: - service: - name: summary-api - port: - number: 80 \ No newline at end of file + - path: / + pathType: Prefix + backend: + service: + name: summary-api + port: + number: 80 diff --git a/src/Fusion.Summary.Api/Deployment/k8s/pr-deployment-env.yml b/src/Fusion.Summary.Api/Deployment/k8s/pr-deployment-env.yml index 203785ee6..6ac4da027 100644 --- a/src/Fusion.Summary.Api/Deployment/k8s/pr-deployment-env.yml +++ b/src/Fusion.Summary.Api/Deployment/k8s/pr-deployment-env.yml @@ -127,7 +127,7 @@ metadata: fusion-health/application: 'Fusion Summary' fusion-health/url: /_health/ready spec: - ingressClassName: nginx + ingressClassName: ingress-nginx-fusiondev tls: - hosts: - fra-summary-{{prNumber}}.pr.api.fusion-dev.net diff --git a/src/backend/api/Fusion.Resources.Api/Deployment/k8s/deployment-ingress-test.yml b/src/backend/api/Fusion.Resources.Api/Deployment/k8s/deployment-ingress-test.yml index 0dc847a7a..a21adb87e 100644 --- a/src/backend/api/Fusion.Resources.Api/Deployment/k8s/deployment-ingress-test.yml +++ b/src/backend/api/Fusion.Resources.Api/Deployment/k8s/deployment-ingress-test.yml @@ -4,26 +4,26 @@ metadata: name: resources-api-fusion-ingress annotations: kubernetes.io/tls-acme: "true" - kubernetes.io/ingress.class: nginx + kubernetes.io/ingress.class: ingress-nginx-fusiondev nginx.ingress.kubernetes.io/rewrite-target: / nginx.ingress.kubernetes.io/proxy-buffer-size: "32k" nginx.org/client-max-body-size: "50m" nginx.ingress.kubernetes.io/client-max-body-size: "50m" nginx.ingress.kubernetes.io/proxy-body-size: "50m" spec: - ingressClassName: nginx + ingressClassName: ingress-nginx-fusiondev tls: - - hosts: - - fra-resources.{{ENVNAME}}.api.fusion-dev.net - secretName: wildcard-tls-cert + - hosts: + - fra-resources.{{ENVNAME}}.api.fusion-dev.net + secretName: wildcard-tls-cert rules: - host: fra-resources.{{ENVNAME}}.api.fusion-dev.net http: paths: - - path: / - pathType: Prefix - backend: - service: - name: resources-api - port: - number: 80 \ No newline at end of file + - path: / + pathType: Prefix + backend: + service: + name: resources-api + port: + number: 80 diff --git a/src/backend/api/Fusion.Resources.Api/Deployment/k8s/pr-deployment-env.yml b/src/backend/api/Fusion.Resources.Api/Deployment/k8s/pr-deployment-env.yml index 21fdb0362..b6d171425 100644 --- a/src/backend/api/Fusion.Resources.Api/Deployment/k8s/pr-deployment-env.yml +++ b/src/backend/api/Fusion.Resources.Api/Deployment/k8s/pr-deployment-env.yml @@ -126,7 +126,7 @@ metadata: fusion-health/application: 'Fusion Resources' fusion-health/url: /_health/ready spec: - ingressClassName: nginx + ingressClassName: ingress-nginx-fusiondev tls: - hosts: - fra-resources-{{prNumber}}.pr.api.fusion-dev.net