diff --git a/stable/sonatype-nexus/Chart.yaml b/stable/sonatype-nexus/Chart.yaml index 87faa7d7ca..f20a282246 100644 --- a/stable/sonatype-nexus/Chart.yaml +++ b/stable/sonatype-nexus/Chart.yaml @@ -1,5 +1,5 @@ name: sonatype-nexus -version: 1.3.0 +version: 1.3.1 appVersion: 3.11.0-01 description: Sonatype Nexus is an open source repository manager keywords: diff --git a/stable/sonatype-nexus/README.md b/stable/sonatype-nexus/README.md index 124a3bd5cd..d5b25f017f 100644 --- a/stable/sonatype-nexus/README.md +++ b/stable/sonatype-nexus/README.md @@ -108,6 +108,7 @@ The following table lists the configurable parameters of the Nexus chart and the | `ingress.annotations` | Annotations to enhance ingress configuration | `{}` | | `ingress.tls.enabled` | Enable TLS | `false` | | `ingress.tls.secretName` | Name of the secret storing TLS cert, `false` to use the Ingress' default certificate | `nexus-tls` | +| `ingress.path` | Path for ingress rules. GCP users should set to `/*` | `/` | If `nexusProxy.env.cloudIamAuthEnabled` is set to `true` the following variables need to be configured diff --git a/stable/sonatype-nexus/templates/ingress.yaml b/stable/sonatype-nexus/templates/ingress.yaml index e91e96f27a..7043c7fa89 100644 --- a/stable/sonatype-nexus/templates/ingress.yaml +++ b/stable/sonatype-nexus/templates/ingress.yaml @@ -17,14 +17,14 @@ spec: - backend: serviceName: {{ template "nexus.fullname" . }} servicePort: {{ .Values.nexusProxy.port }} - path: / + path: {{ .Values.ingress.path }} - host: {{ .Values.nexusProxy.env.nexusHttpHost }} http: paths: - backend: serviceName: {{ template "nexus.fullname" . }} servicePort: {{ .Values.nexusProxy.port }} - path: / + path: {{ .Values.ingress.path }} {{- if .Values.ingress.tls }} tls: - hosts: diff --git a/stable/sonatype-nexus/values.yaml b/stable/sonatype-nexus/values.yaml index 2a11aabb8f..1aaa958c92 100644 --- a/stable/sonatype-nexus/values.yaml +++ b/stable/sonatype-nexus/values.yaml @@ -90,6 +90,7 @@ nexusBackup: ingress: enabled: false + path: / annotations: {} # # NOTE: Can't use 'false' due to https://github.com/jetstack/kube-lego/issues/173. # kubernetes.io/ingress.allow-http: true