ops-deployment/backend-api/deployment.yaml
automation-bot 6d996b4d1f Update backend-api image to version 13
Linked build commit: ead13eba51
2025-10-15 07:09:15 +00:00

34 lines
819 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: backend-api
namespace: app-notifications
spec:
replicas: 1
selector:
matchLabels:
app: backend-api
template:
metadata:
labels:
app: backend-api
spec:
imagePullSecrets:
- name: ghcr-secret
containers:
- name: backend-api
image: ghcr.io/gansejunge/app-notifications-backend-api:13
ports:
- containerPort: 8100
env:
- name: BACKEND_API_DB_HOST
value: "mysql.app-notifications.svc.cluster.local"
volumeMounts:
- name: backend-api-secrets
mountPath: /etc/secrets
readOnly: true
volumes:
- name: backend-api-secrets
secret:
secretName: backend-api