chore: update gateway URL configuration for staging environment
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 3m25s
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 3m25s
- Changed GW_URL and GwUrl in frontoffice-deployment.yaml and Dockerfile to use the internal service URL http://cms-svc:8080 for the staging environment. - Enhanced ConfigureServices to handle HTTP/1.1 for gRPC when using the internal service URL, ensuring compatibility with Kestrel's requirements.
This commit is contained in:
@@ -22,6 +22,8 @@ COPY --from=build /app/publish .
|
||||
|
||||
ENV ASPNETCORE_URLS=http://+:80
|
||||
ENV GW_URL=https://cms.se.kbs1.ir
|
||||
# For Kubernetes staging, override GW_URL/GwUrl to http://cms-svc:8080 via deployment env vars
|
||||
# to avoid TLS PartialChain when the public ingress cert is not trusted by the container.
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["dotnet", "FrontOffice.Main.dll"]
|
||||
|
||||
Reference in New Issue
Block a user