chore(vaultwarden): migrate to Hcloud object storage
All checks were successful
Renovate / renovate (push) Successful in 1m19s
All checks were successful
Renovate / renovate (push) Successful in 1m19s
This commit is contained in:
parent
f579e3c039
commit
82816e0de5
2 changed files with 28 additions and 27 deletions
|
@ -4,6 +4,7 @@ kind: Deployment
|
|||
metadata:
|
||||
name: vaultwarden
|
||||
spec:
|
||||
replicas: 0
|
||||
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:
|
||||
|
|
|
@ -4,7 +4,7 @@ kind: PersistentVolumeClaim
|
|||
metadata:
|
||||
name: vaultwarden-data
|
||||
spec:
|
||||
storageClassName: garage
|
||||
storageClassName: hcloud-blob
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
|
|
Loading…
Reference in a new issue