chore(vaultwarden): migrate to Hcloud object storage
Some checks failed
Renovate / renovate (push) Has been cancelled

This commit is contained in:
Peter 2024-11-22 16:03:01 +01:00
parent f579e3c039
commit 5d661bf5d9
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 28 additions and 27 deletions

View file

@ -4,6 +4,7 @@ kind: Deployment
metadata:
name: vaultwarden
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: vaultwarden
@ -15,32 +16,32 @@ spec:
app.kubernetes.io/part-of: vaultwarden
spec:
containers:
- name: vaultwarden
image: vaultwarden
envFrom:
- secretRef:
name: vaultwarden-api-config
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: vaultwarden-db-credentials-vaultwarden
key: PQ_URL
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
volumeMounts:
- name: data
mountPath: /data
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
- name: vaultwarden
image: vaultwarden
envFrom:
- secretRef:
name: vaultwarden-api-config
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: vaultwarden-db-credentials-vaultwarden
key: PQ_URL
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
volumeMounts:
- name: data
mountPath: /data
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:

View file

@ -4,7 +4,7 @@ kind: PersistentVolumeClaim
metadata:
name: vaultwarden-data
spec:
storageClassName: garage
storageClassName: hcloud-blob
resources:
requests:
storage: 5Gi