File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,9 +77,12 @@ NEXUS_MEMORY_REQUEST=3Gi
7777NEXUS_CPU_LIMIT=1
7878NEXUS_MEMORY_LIMIT=5Gi
7979
80- # Nexus data and backup capacity
80+ # Nexus data capacity
8181NEXUS_DATA_CAPACITY=60Gi
8282
83+ # Nexus storage name
84+ NEXUS_STORAGE_NAME="storage"
85+
8386# Storage class provisioner, for AWS this should be "kubernetes.io/aws-ebs"
8487NEXUS_STORAGE_PROVISIONER=""
8588
Original file line number Diff line number Diff line change @@ -3,16 +3,13 @@ Thank you for installing the OpenDevStack Nexus OSS Helm chart!
33Nexus Repository Manager has been deployed.
44
55Access Nexus UI:
6- URL: https://{{ .Values.global.nexusHost }}
6+ https://{{ .Values.global.nexusHost }}
77
88Docker Registry Endpoint:
9- URL: https:// {{ .Values.global.nexusDockerGroup }}-{{ .Values.global.odsNamespace }}{{ .Values.global.openshiftAppDomain}}
9+ {{ .Values.global.nexusDockerGroup }}-{{ .Values.global.odsNamespace }}{{ .Values.global.openshiftAppDomain}}
1010
1111Nexus Version: {{ .Values.global.nexusImageTag }}
1212
13- Persistent Data:
14- - Nexus data is stored in the PVC '{{ .Values.global.appName }}-data'
15-
1613For more information, visit:
1714 - Sonatype Nexus Repository OSS: https://help.sonatype.com/en/ce-onboarding.html
1815 - OpenDevStack: https://www.opendevstack.org/ods-documentation/opendevstack/latest/nexus/administration.html
Original file line number Diff line number Diff line change 3737 volumes :
3838 - name : {{ .Values.global.appName }}-data
3939 persistentVolumeClaim :
40- claimName : {{ .Values.global.appName }}-data
40+ claimName : {{ .Values.global.nexusStorageName }}
4141 containers :
4242 - resources :
4343 limits :
Original file line number Diff line number Diff line change 2929 spec:
3030 volumeSnapshotClassName: {{ .Values.global.nexusSnapshotClass }}
3131 source:
32- persistentVolumeClaimName: {{ .Values.global.appName }}-data
32+ persistentVolumeClaimName: {{ .Values.global.nexusStorageName }}
3333 EOF
3434 # Cleanup snapshots older than the TTL
3535 oc get volumesnapshots --namespace {{ .Values.global.odsNamespace }} \
Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ kind: PersistentVolumeClaim
33metadata :
44 annotations :
55 volume.beta.kubernetes.io/storage-provisioner : {{ .Values.global.storageProvisioner }}
6+ helm.sh/resource-policy : keep
67 finalizers :
78 - kubernetes.io/pvc-protection
89 labels :
910 app : {{ .Values.global.appName }}
10- name : {{ .Values.global.appName }}-data
11+ name : {{ .Values.global.nexusStorageName }}
1112spec :
1213 accessModes :
1314 - ReadWriteOnce
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ global:
1717 nexusSnapshotSchedule: $NEXUS_SNAPSHOT_SCHEDULE
1818 nexusSnapshotClass: $NEXUS_STORAGE_CLASS_BACKUP
1919 nexusSnapshotTTL: $NEXUS_SNAPSHOT_TTL
20+ nexusStorageName: $NEXUS_STORAGE_NAME
2021nexus:
2122 cpuRequest: $NEXUS_CPU_REQUEST
2223 cpuLimit: $NEXUS_CPU_LIMIT
You can’t perform that action at this time.
0 commit comments