diff --git a/stable/sonatype-nexus/Chart.yaml b/stable/sonatype-nexus/Chart.yaml index 96a06c064b..248b314523 100644 --- a/stable/sonatype-nexus/Chart.yaml +++ b/stable/sonatype-nexus/Chart.yaml @@ -1,5 +1,5 @@ name: sonatype-nexus -version: 1.16.0 +version: 1.16.1 appVersion: 3.15.2-01 description: Sonatype Nexus is an open source repository manager keywords: diff --git a/stable/sonatype-nexus/templates/_helpers.tpl b/stable/sonatype-nexus/templates/_helpers.tpl index f60b262c6c..3cd2c837e4 100644 --- a/stable/sonatype-nexus/templates/_helpers.tpl +++ b/stable/sonatype-nexus/templates/_helpers.tpl @@ -36,8 +36,7 @@ Create a default fully qualified name for proxy keystore secret. We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). */}} {{- define "nexus.proxy-ks.name" -}} -{{- $name := default .Chart.Name .Values.nameOverride -}} -{{- printf "%s-%s-%s" $name .Release.Name "-proxy-ks" | trunc 63 | trimSuffix "-" -}} +{{- printf "%s-%s" (include "nexus.fullname" .) "proxy-ks" | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Manage the labels for each entity */}}