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 + 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 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 +}