29 lines
644 B
YAML
29 lines
644 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: vaultwarden
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: vaultwarden
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: vaultwarden
|
|
spec:
|
|
containers:
|
|
- name: vaultwarden
|
|
image: vaultwarden/server:1.33.2-alpine
|
|
resources:
|
|
limits:
|
|
memory: "128Mi"
|
|
cpu: "500m"
|
|
envFrom:
|
|
- secretRef:
|
|
name: vaultwarden-secrets
|
|
- configMapRef:
|
|
name: vaultwarden-config
|
|
volumes:
|
|
- name: vaultwarden-pvc
|
|
persistentVolumeClaim:
|
|
claimName: vaultwarden-pvc |