From 14b5e78dbe7480cae538e2f64d5bc5a9f3b6d3a8 Mon Sep 17 00:00:00 2001 From: Adam Rush Date: Wed, 9 Sep 2020 09:05:17 +0100 Subject: [PATCH] Added more NOTES and comments --- charts/sonatype-nexus/Chart.yaml | 3 ++- charts/sonatype-nexus/templates/NOTES.txt | 9 +++++++-- charts/sonatype-nexus/values.yaml | 1 + 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/charts/sonatype-nexus/Chart.yaml b/charts/sonatype-nexus/Chart.yaml index eed4049..0a37416 100644 --- a/charts/sonatype-nexus/Chart.yaml +++ b/charts/sonatype-nexus/Chart.yaml @@ -3,7 +3,7 @@ name: sonatype-nexus description: Sonatype Nexus is an open source repository manager type: application # This is the chart version -version: 0.2.3 +version: 0.2.4 # This is the version number of the application being deployed appVersion: 3.27.0 keywords: @@ -17,6 +17,7 @@ home: https://www.sonatype.com/nexus-repository-oss icon: http://www.sonatype.org/nexus/content/uploads/2015/06/Nexus-Logo.jpg sources: - https://github.com/sonatype/nexus-public + - https://hub.docker.com/r/sonatype/nexus3/tags maintainers: - name: adamrushuk email: adamrushuk@gmail.com diff --git a/charts/sonatype-nexus/templates/NOTES.txt b/charts/sonatype-nexus/templates/NOTES.txt index 58a8940..e7a77f5 100644 --- a/charts/sonatype-nexus/templates/NOTES.txt +++ b/charts/sonatype-nexus/templates/NOTES.txt @@ -1,9 +1,14 @@ 1. Application URL: {{- if .Values.ingress.enabled }} - http{{ if $.Values.ingress.tls }}s{{ end }}://nexus.{{ .Values.nexus.baseDomain }} -{{- end }} + http{{ if $.Values.ingress.tls }}s{{ end }}://nexus.{{ .Values.nexus.baseDomain }} +{{- else }} + Run the command below to port-forward for local access: + + kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ include "sonatype-nexus.fullname" . }} {{ .Values.nexus.nexusPort }}:{{ .Values.nexus.nexusPort }} + then navigate to: http://localhost:{{ .Values.nexus.nexusPort }}/ +{{- end }} 2. Get Nexus admin password by running these commands: diff --git a/charts/sonatype-nexus/values.yaml b/charts/sonatype-nexus/values.yaml index 2ed8e5c..c4c51aa 100644 --- a/charts/sonatype-nexus/values.yaml +++ b/charts/sonatype-nexus/values.yaml @@ -11,6 +11,7 @@ nexus: dockerPort: 5000 nexusPort: 8081 +# https://hub.docker.com/r/sonatype/nexus3/tags image: repository: sonatype/nexus3 pullPolicy: IfNotPresent