fix: trust staging-ca in container to resolve PartialChain gRPC error
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 3m0s

Add staging-ca.crt to the Dockerfile so the ASP.NET runtime inside the
container trusts the internal staging CA. This fixes server-side gRPC
calls from FrontOffice (Blazor Server) to https://cms.se.kbs1.ir which
were failing with PartialChain because the container CA store did not
include the staging root certificate.

Also adds GW_URL env support alongside GwUrl for parity with BackOffice.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
masoodafar-web
2026-05-14 00:42:36 +03:30
parent 28a55246df
commit 738119cf6d
3 changed files with 24 additions and 4 deletions
+2 -2
View File
@@ -29,9 +29,9 @@ spec:
- name: ASPNETCORE_ENVIRONMENT
value: "Staging"
- name: GW_URL
value: "http://cms-svc:8080"
value: "https://cms.se.kbs1.ir"
- name: GwUrl
value: "http://cms-svc:8080"
value: "https://cms.se.kbs1.ir"
resources:
requests:
memory: "256Mi"