Merge "Update nexus helm charts. Docker and helm repos are exposed using separated...
[it/dep.git] / ric-infra / 10-Nexus / helm / templates / persistentVolume.yaml
1 apiVersion: v1
2 kind: PersistentVolume
3 metadata:
4   name: pv-{{ include "common.name.nexus" . }}
5 spec:
6   capacity:
7     storage: {{ .Values.nexus.storagesize }}
8   accessModes:
9   - ReadWriteOnce
10   persistentVolumeReclaimPolicy: Retain
11   storageClassName: storageclass-{{ include "common.name.nexus" . }}
12   local:
13     path: {{ .Values.nexus.datapath }}
14   nodeAffinity:
15     required:
16       nodeSelectorTerms:
17       - matchExpressions:
18         - key: nexus-node
19           operator: In
20           values:
21           - enable