blob: 08861a74a8a031bffae6c219828a82ee7f189562 [file] [log] [blame]
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-{{ include "common.name.nexus" . }}
spec:
capacity:
storage: {{ .Values.nexus.storagesize }}
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
storageClassName: storageclass-{{ include "common.name.nexus" . }}
local:
path: {{ .Values.nexus.datapath }}
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: nexus-node
operator: In
values:
- enable