Files
core-apps/vaultwarden/deployment.yaml
2025-03-09 16:29:57 -04:00

42 lines
992 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: vaultwarden
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: vaultwarden
template:
metadata:
annotations:
backup.velero.io/backup-volumes: vaultwarden-pvc
labels:
app: vaultwarden
spec:
containers:
- name: vaultwarden
image: vaultwarden/server:1.33.2-alpine
livenessProbe:
exec:
command:
- /healthcheck.sh
initialDelaySeconds: 10
periodSeconds: 60
resources:
limits:
memory: "128Mi"
cpu: "500m"
volumeMounts:
- name: vaultwarden-pvc
mountPath: /config
envFrom:
- secretRef:
name: vaultwarden-secrets
- configMapRef:
name: vaultwarden-config
volumes:
- name: vaultwarden-pvc
persistentVolumeClaim:
claimName: vaultwarden-pvc