From c74ea4a18a3b09e01537ccc74380421a7307b64f Mon Sep 17 00:00:00 2001 From: lalithamudala7 <155855662+lalithamudala7@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:07:33 -0500 Subject: [PATCH 1/3] Update ingress-srv.yaml annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead --- K8S/ingress-srv.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/K8S/ingress-srv.yaml b/K8S/ingress-srv.yaml index 6160857..9e2cbb5 100644 --- a/K8S/ingress-srv.yaml +++ b/K8S/ingress-srv.yaml @@ -3,7 +3,7 @@ kind: Ingress metadata: name: ingress-srv annotations: - kubernetes.io/ingress.class: nginx + ingressClassName: nginx nginx.ingress.kubernetes.io/use-regex: 'true' spec: rules: @@ -25,4 +25,4 @@ spec: port: number: 80 - \ No newline at end of file + From 1c34079c9758bc6dc213c463861eb7f4e6293738 Mon Sep 17 00:00:00 2001 From: lalithamudala7 <155855662+lalithamudala7@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:17:28 -0500 Subject: [PATCH 2/3] Update platforms-np-srv.yaml "socket hang up" in Postman. Starting with .NET 8, default .NET Core port changed from 80 to 8080. --- K8S/platforms-np-srv.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/K8S/platforms-np-srv.yaml b/K8S/platforms-np-srv.yaml index 33a19ea..4fe27b8 100644 --- a/K8S/platforms-np-srv.yaml +++ b/K8S/platforms-np-srv.yaml @@ -9,5 +9,5 @@ spec: ports: - name: platformservice protocol: TCP - port: 80 - targetPort: 80 \ No newline at end of file + port: 8080 + targetPort: 8080 From 524aea9173125a46dce001d5c7592be435a4083f Mon Sep 17 00:00:00 2001 From: lalithamudala7 <155855662+lalithamudala7@users.noreply.github.com> Date: Thu, 22 Aug 2024 01:09:55 -0500 Subject: [PATCH 3/3] Update appsettings.Development.json TrustServerCertificate=True; --- PlatformService/appsettings.Development.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PlatformService/appsettings.Development.json b/PlatformService/appsettings.Development.json index f50cc17..76787c2 100644 --- a/PlatformService/appsettings.Development.json +++ b/PlatformService/appsettings.Development.json @@ -8,8 +8,8 @@ }, "CommandService": "http://localhost:6000/api/c/platforms/", "ConnectionStrings": { - "PlatformsConn": "Server=localhost,1433;Initial Catalog=platformsdb;User ID=sa;Password=pa55w0rd;" + "PlatformsConn": "Server=localhost,1433;Initial Catalog=platformsdb;User ID=sa;Password=pa55w0rd;TrustServerCertificate=True;" }, "RabbitMQHost": "localhost", "RabbitMQPort": "5672" -} \ No newline at end of file +}