chore(k8s): deploy staging apps to namespace kbs-stage
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 21m11s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
masoodafar-web
2026-09-24 21:26:15 +03:30
parent f79affb44d
commit fe7179f6e9
3 changed files with 16 additions and 11 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ apiVersion: v1
kind: Secret
metadata:
name: cms-appsettings
namespace: default
namespace: kbs-stage
labels:
app: cms
environment: staging
@@ -53,7 +53,7 @@ stringData:
"JwtAudience": "https://localhost",
"JwtExpiryInDays": 5,
"ConnectionStrings": {
"DefaultConnection": "Data Source=185.252.31.44,31433; Initial Catalog=Foursat;User ID=sa;Password=87zH26nbqT;Connection Timeout=300000;MultipleActiveResultSets=True;Encrypt=False",
"DefaultConnection": "Data Source=mssql-svc.platform.svc.cluster.local,1433; Initial Catalog=Foursat;User ID=sa;Password=87zH26nbqT;Connection Timeout=300000;MultipleActiveResultSets=True;Encrypt=False",
"providerName": "System.Data.SqlClient"
},
"Otp": {
+10 -5
View File
@@ -4,12 +4,14 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: cms-uploads-pvc
namespace: default
namespace: kbs-stage
labels:
app: cms
spec:
accessModes:
- ReadWriteOnce
storageClassName: migrated-local
volumeName: pv-cms-uploads-migrated
resources:
requests:
storage: 20Gi
@@ -20,7 +22,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: cms
namespace: default
namespace: kbs-stage
labels:
app: cms
spec:
@@ -33,10 +35,12 @@ spec:
labels:
app: cms
spec:
imagePullSecrets:
- name: gitea-registry-secret
containers:
- name: cms
image: 185.252.31.44:30080/admin/cms:latest
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
name: http
@@ -89,7 +93,7 @@ apiVersion: v1
kind: Service
metadata:
name: cms-svc
namespace: default
namespace: kbs-stage
spec:
selector:
app: cms
@@ -107,7 +111,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: cms-ingress
namespace: default
namespace: kbs-stage
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
@@ -115,6 +119,7 @@ metadata:
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
spec:
ingressClassName: nginx
tls:
- hosts:
- cms.se.kbs1.ir