Add isolated UAT and production environments

This commit is contained in:
hz
2026-07-20 20:32:22 -05:00
parent 4e0ca70157
commit 17747d96a0
30 changed files with 780 additions and 282 deletions
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: step3-api
spec:
ports:
- name: http
port: 80
targetPort: 5008
nodePort: 30090
+31
View File
@@ -0,0 +1,31 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: step3-prd
resources:
- ../../base
- namespace.yaml
patches:
- path: api-service-port.yaml
- path: web-service-port.yaml
commonLabels:
app.kubernetes.io/part-of: ranaze-step3
app.kubernetes.io/environment: production
configMapGenerator:
- name: step3-runtime-config
literals:
- Deployment__Environment=production
- MongoDB__DatabaseName=ranaze_step3_prd
- Jwt__Issuer=ranaze-step3-prd
- Jwt__Audience=ranaze-step3-prd
- PasswordReset__Enabled=false
- Steam__Realm=https://s3q.ranaze.com
- Steam__ReturnUrl=https://s3q.ranaze.com/api/Auth/steam/callback
- Legal__TermsVersion=2026-07-20
- Legal__PrivacyVersion=2026-07-20
- Legal__EffectiveUtc=2026-07-20T00:00:00Z
- Legal__TermsUrl=https://step3.ranaze.com/terms.html
- Legal__PrivacyUrl=https://step3.ranaze.com/privacy.html
- Stripe__SuccessUrl=https://step3.ranaze.com/donation-complete.html?session_id={CHECKOUT_SESSION_ID}
- Stripe__CancelUrl=https://step3.ranaze.com/donation-canceled.html
generatorOptions:
disableNameSuffixHash: true
+5
View File
@@ -0,0 +1,5 @@
apiVersion: v1
kind: Namespace
metadata:
name: step3-prd
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: step3-web
spec:
ports:
- name: http
port: 80
targetPort: 8080
nodePort: 30091