chore(vaultwarden): migrate to Hcloud object storage
Some checks failed
Renovate / renovate (push) Has been cancelled
Some checks failed
Renovate / renovate (push) Has been cancelled
This commit is contained in:
parent
f579e3c039
commit
5d661bf5d9
2 changed files with 28 additions and 27 deletions
|
@ -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:
|
||||
|
|
|
@ -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