Add vaultwarden/deployments.yaml

This commit is contained in:
chemavx 2026-03-26 17:04:00 +00:00
parent ec14d296b9
commit 9525dbf098

View File

@ -0,0 +1,60 @@
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: '5'
name: vaultwarden
namespace: vaultwarden
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: vaultwarden
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
annotations:
kubectl.kubernetes.io/restartedAt: '2026-03-24T17:20:37.646Z'
labels:
app: vaultwarden
spec:
containers:
- env:
- name: DOMAIN
value: https://vaultwarden.chemavx.xyz
- name: SIGNUPS_ALLOWED
value: 'false'
image: vaultwarden/server:latest
imagePullPolicy: Always
name: vaultwarden
ports:
- containerPort: 80
protocol: TCP
resources:
limits:
cpu: 300m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: data
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: data
persistentVolumeClaim:
claimName: vaultwarden-data