fix(k8s): switch domains from goodgo.vn to techbi.org
All checks were successful
Build & Deploy to K8s / build-and-deploy (push) Successful in 33s

- api.techbi.org (backend API)
- platform.techbi.org (frontend POS)
- Update JWT Authority, CORS, IdentityServer IssuerUri
- Update TLS secret names

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ho Ngoc Hai
2026-04-10 20:30:08 +07:00
parent b885da7cdb
commit 31d24c8c4d
3 changed files with 11 additions and 11 deletions

View File

@@ -20,7 +20,7 @@ data:
# Services resolve OIDC discovery over public TLS endpoint via Traefik. # Services resolve OIDC discovery over public TLS endpoint via Traefik.
# VI: Dùng HTTPS external URL để RequireHttpsMetadata=true hoạt động đúng. # VI: Dùng HTTPS external URL để RequireHttpsMetadata=true hoạt động đúng.
# Các service lấy OIDC discovery qua endpoint TLS công khai qua Traefik. # Các service lấy OIDC discovery qua endpoint TLS công khai qua Traefik.
Jwt__Authority: "https://api.staging.goodgo.vn" Jwt__Authority: "https://api.techbi.org"
Jwt__Audience: "goodgo-api" Jwt__Audience: "goodgo-api"
# EN: MUST be true in staging/prod — never allow HTTP metadata endpoints outside dev # EN: MUST be true in staging/prod — never allow HTTP metadata endpoints outside dev
# VI: PHẢI là true trong staging/prod — không cho phép HTTP metadata endpoint ngoài môi trường dev # VI: PHẢI là true trong staging/prod — không cho phép HTTP metadata endpoint ngoài môi trường dev
@@ -69,7 +69,7 @@ data:
# EN: CORS Configuration # EN: CORS Configuration
# VI: Cau hinh CORS # VI: Cau hinh CORS
Cors__AllowedOrigins: "https://pos.staging.goodgo.vn,https://staging.goodgo.vn,https://admin.staging.goodgo.vn" Cors__AllowedOrigins: "https://platform.techbi.org,https://api.techbi.org,https://admin.techbi.org"
# EN: Logging # EN: Logging
# VI: Ghi log # VI: Ghi log

View File

@@ -2,7 +2,7 @@
# VI: Traefik Ingress cho GoodGo Staging - Dinh tuyen API Gateway # VI: Traefik Ingress cho GoodGo Staging - Dinh tuyen API Gateway
# #
# Routes match infra/traefik/dynamic/routes.yml for consistency # Routes match infra/traefik/dynamic/routes.yml for consistency
# Host: api.staging.goodgo.vn (API), pos.staging.goodgo.vn (POS Frontend) # Host: api.techbi.org (API), platform.techbi.org (POS Frontend)
# ============================================================================= # =============================================================================
# API Ingress - Backend services # API Ingress - Backend services
@@ -28,10 +28,10 @@ spec:
ingressClassName: nginx ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- api.staging.goodgo.vn - api.techbi.org
secretName: api-staging-tls secretName: api-techbi-tls
rules: rules:
- host: api.staging.goodgo.vn - host: api.techbi.org
http: http:
paths: paths:
# ===== IAM Service ===== # ===== IAM Service =====
@@ -558,10 +558,10 @@ spec:
ingressClassName: nginx ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- pos.staging.goodgo.vn - platform.techbi.org
secretName: pos-staging-tls secretName: platform-techbi-tls
rules: rules:
- host: pos.staging.goodgo.vn - host: platform.techbi.org
http: http:
paths: paths:
- path: / - path: /

View File

@@ -61,7 +61,7 @@ stringData:
# EN: IdentityServer Issuer # EN: IdentityServer Issuer
# VI: IdentityServer Issuer # VI: IdentityServer Issuer
IdentityServer__IssuerUri: "https://api.staging.goodgo.vn" IdentityServer__IssuerUri: "https://api.techbi.org"
# EN: PostgreSQL Connection Strings (per-service databases) # EN: PostgreSQL Connection Strings (per-service databases)
# VI: Chuoi ket noi PostgreSQL (database rieng cho tung service) # VI: Chuoi ket noi PostgreSQL (database rieng cho tung service)
@@ -100,7 +100,7 @@ stringData:
# VI: Thong tin xac thuc MinIO / S3 # VI: Thong tin xac thuc MinIO / S3
Storage__MinIO__AccessKey: "PLACEHOLDER-minio-access-key" Storage__MinIO__AccessKey: "PLACEHOLDER-minio-access-key"
Storage__MinIO__SecretKey: "PLACEHOLDER-minio-secret-key" Storage__MinIO__SecretKey: "PLACEHOLDER-minio-secret-key"
Storage__MinIO__Endpoint: "minio.staging.goodgo.vn" Storage__MinIO__Endpoint: "minio.techbi.org"
# EN: RabbitMQ Credentials # EN: RabbitMQ Credentials
# VI: Thong tin xac thuc RabbitMQ # VI: Thong tin xac thuc RabbitMQ