servala-portal/deployment/kustomize/overlays/production/portal-deployment.yaml
Tobias Brunner ac845b5073
All checks were successful
Build and Deploy Staging / build (push) Successful in 39s
Build and Deploy Staging / deploy (push) Successful in 7s
properly set requests and limits for the deployment
2025-12-11 17:11:48 +01:00

34 lines
1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: servala
spec:
template:
spec:
containers:
- name: servala
env:
- name: SERVALA_ENVIRONMENT
value: production
- name: SERVALA_ALLOWED_HOSTS
value: portal.servala.com
- name: SERVALA_STORAGE_BUCKET_NAME
valueFrom:
secretKeyRef:
name: portal-storage-creds
key: BUCKET_NAME
- name: SERVALA_S3_ENDPOINT_URL
valueFrom:
secretKeyRef:
name: portal-storage-creds
key: ENDPOINT_URL
- name: SERVALA_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: portal-storage-creds
key: AWS_ACCESS_KEY_ID
- name: SERVALA_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: portal-storage-creds
key: AWS_SECRET_ACCESS_KEY