portal :0f156d2f17aab3461ba4c5d7d4d8988861b2b14b (deploy-portal run 87, success) carries the zones API (bcdba9d), inline file disposition and the last-message fields; registry digest sha256:90d9c89d...6643. site :0b4a8c0a27c35855eab03ebaa23a7ab5229245a8 (deploy-site run 90, success) is the admin split plus per-client zones/messages UI and the dashboard zone filter with inline previews, and gates /admin/leads + /admin/settings in all three nginx variants; registry digest sha256:ab680c5b...5adf.
92 lines
2.7 KiB
YAML
92 lines
2.7 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: sirius-growth-portal
|
|
namespace: sirius-growth
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: sirius-growth-portal
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: sirius-growth-portal
|
|
spec:
|
|
tolerations:
|
|
- key: dedicated
|
|
operator: Exists
|
|
effect: PreferNoSchedule
|
|
nodeSelector:
|
|
kubernetes.io/hostname: siriussec
|
|
containers:
|
|
- name: portal-api
|
|
image: forgejo.siriusdevops.com/sirius/sirius-growth-portal:0f156d2f17aab3461ba4c5d7d4d8988861b2b14b
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 8091
|
|
name: http
|
|
env:
|
|
- name: DATABASE_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: sirius-growth-portal-app
|
|
key: database-url
|
|
- name: SESSION_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: sirius-growth-portal-app
|
|
key: session-secret
|
|
- name: ADMIN_USERNAME
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: sirius-growth-portal-app
|
|
key: admin-username
|
|
- name: ADMIN_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: sirius-growth-portal-app
|
|
key: admin-password
|
|
- name: S3_ENDPOINT
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: sirius-growth-portal-app
|
|
key: s3-endpoint
|
|
- name: S3_BUCKET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: sirius-growth-portal-app
|
|
key: s3-bucket
|
|
- name: S3_ACCESS_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: sirius-growth-portal-app
|
|
key: s3-access-key
|
|
- name: S3_SECRET_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: sirius-growth-portal-app
|
|
key: s3-secret-key
|
|
- name: S3_REGION
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: sirius-growth-portal-app
|
|
key: s3-region
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /api/portal/health
|
|
port: 8091
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /api/portal/health
|
|
port: 8091
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 20
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
memory: 384Mi
|