Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 1m53s
29 lines
781 B
YAML
29 lines
781 B
YAML
# The directory must contain Vaultwarden's migrated /data before the pod starts.
|
|
# Retain the files when the claim or Argo CD application is removed.
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: vaultwarden-data-music
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "-1"
|
|
argocd.argoproj.io/sync-options: Prune=false
|
|
spec:
|
|
capacity:
|
|
storage: 2Gi
|
|
volumeMode: Filesystem
|
|
accessModes: [ReadWriteOnce]
|
|
persistentVolumeReclaimPolicy: Retain
|
|
storageClassName: ""
|
|
claimRef:
|
|
namespace: vaultwarden
|
|
name: vaultwarden-data-music
|
|
local:
|
|
path: /data/k8s/vaultwarden
|
|
nodeAffinity:
|
|
required:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: kubernetes.io/hostname
|
|
operator: In
|
|
values: [music]
|