Add isolated UAT and production environments
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: step3-api
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 5008
|
||||
nodePort: 30090
|
||||
|
||||
@@ -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
|
||||
@@ -0,0 +1,5 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: step3-prd
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: step3-web
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
nodePort: 30091
|
||||
|
||||
Reference in New Issue
Block a user