X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F10-Nexus%2Fhelm%2Ftemplates%2FpersistentVolume.yaml;fp=ric-infra%2F10-Nexus%2Fhelm%2Ftemplates%2FpersistentVolume.yaml;h=dfdbd21c6b86c6562bda295e209174c455a56dbb;hb=72069511cae9028d54b8d99fa373b5f4f691e981;hp=0000000000000000000000000000000000000000;hpb=7f1e409379856025977fc8a6ea04ddb215f21a13;p=it%2Fdep.git diff --git a/ric-infra/10-Nexus/helm/templates/persistentVolume.yaml b/ric-infra/10-Nexus/helm/templates/persistentVolume.yaml new file mode 100644 index 00000000..dfdbd21c --- /dev/null +++ b/ric-infra/10-Nexus/helm/templates/persistentVolume.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: PersistentVolume +metadata: + name: nexus3-configuration +spec: + capacity: + storage: {{ .Values.storagesize }} + accessModes: + - ReadWriteOnce + persistentVolumeReclaimPolicy: Retain + storageClassName: nexus3-storage + local: + path: {{ .Values.datapath }} + nodeAffinity: + required: + nodeSelectorTerms: + - matchExpressions: + - key: nexus-node + operator: In + values: + - enable