X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=ric-infra%2F10-Nexus%2Fhelm%2Fnexus%2Ftemplates%2FpersistentVolume.yaml;fp=ric-infra%2F10-Nexus%2Fhelm%2Fnexus%2Ftemplates%2FpersistentVolume.yaml;h=08861a74a8a031bffae6c219828a82ee7f189562;hb=6f157d7b84f5c957c068146a300f25fd0983375f;hp=0000000000000000000000000000000000000000;hpb=b0d610ef0ba334c963cac6e2f3423657fda803dd;p=it%2Fdep.git diff --git a/ric-infra/10-Nexus/helm/nexus/templates/persistentVolume.yaml b/ric-infra/10-Nexus/helm/nexus/templates/persistentVolume.yaml new file mode 100644 index 00000000..08861a74 --- /dev/null +++ b/ric-infra/10-Nexus/helm/nexus/templates/persistentVolume.yaml @@ -0,0 +1,21 @@ +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