mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Reuse nexus.fullname template in nexus.proxy-ks.name (#11083)
Get rid of double dash and use a shorter name when the release name contains chart name Signed-off-by: Sergei Ivanov <sergei_ivanov@mail.ru>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
6b08a1052b
commit
2825962427
@@ -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:
|
||||
|
||||
@@ -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 */}}
|
||||
|
||||
Reference in New Issue
Block a user