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 16b671675cef3be769512a5e438544631e5418ad Mon Sep 17 00:00:00 2001 From: lalithamudala7 <155855662+lalithamudala7@users.noreply.github.com> Date: Thu, 22 Aug 2024 01:09:11 -0500 Subject: [PATCH 3/3] Update appsettings.Production.json adding TrustServerCertificate=True; in the connection string --- PlatformService/appsettings.Production.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PlatformService/appsettings.Production.json b/PlatformService/appsettings.Production.json index 37a2646..bee2475 100644 --- a/PlatformService/appsettings.Production.json +++ b/PlatformService/appsettings.Production.json @@ -1,7 +1,7 @@ { "CommandService": "http://commands-clusterip-srv:80/api/c/platforms/", "ConnectionStrings": { - "PlatformsConn": "Server=mssql-clusterip-srv,1433;Initial Catalog=platformsdb;User ID=sa;Password=pa55w0rd!;" + "PlatformsConn": "Server=mssql-clusterip-srv,1433;Initial Catalog=platformsdb;User ID=sa;Password=pa55w0rd!;TrustServerCertificate=True" }, "RabbitMQHost": "rabbitmq-clusterip-srv", "RabbitMQPort": "5672", @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +}