chore(vaultwarden): migrate to Hcloud object storage
All checks were successful
Renovate / renovate (push) Successful in 1m19s

This commit is contained in:
Peter 2024-11-22 16:03:01 +01:00
parent f579e3c039
commit 82816e0de5
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: metadata:
name: vaultwarden name: vaultwarden
spec: spec:
replicas: 0
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/name: vaultwarden app.kubernetes.io/name: vaultwarden
@ -15,32 +16,32 @@ spec:
app.kubernetes.io/part-of: vaultwarden app.kubernetes.io/part-of: vaultwarden
spec: spec:
containers: containers:
- name: vaultwarden - name: vaultwarden
image: vaultwarden image: vaultwarden
envFrom: envFrom:
- secretRef: - secretRef:
name: vaultwarden-api-config name: vaultwarden-api-config
env: env:
- name: DATABASE_URL - name: DATABASE_URL
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: vaultwarden-db-credentials-vaultwarden name: vaultwarden-db-credentials-vaultwarden
key: PQ_URL key: PQ_URL
resources: resources:
limits: limits:
memory: "128Mi" memory: "128Mi"
cpu: "500m" cpu: "500m"
ports: ports:
- containerPort: 8080 - containerPort: 8080
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /data mountPath: /data
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
capabilities: capabilities:
drop: drop:
- ALL - ALL
affinity: affinity:
nodeAffinity: nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:

View file

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