mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/schema-registry] improved fullname allowing overrides (#9922)
* [incubator/schema-registry] improved fullname allowing overrides Signed-off-by: Fabrizio Fortino <fabrizio.fortino@gmail.com> * bump chart version Signed-off-by: Fabrizio Fortino <fabrizio.fortino@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
05659f3154
commit
b7314f6205
@@ -1,6 +1,6 @@
|
||||
name: schema-registry
|
||||
home: https://docs.confluent.io/current/schema-registry/docs/index.html
|
||||
version: 1.1.0
|
||||
version: 1.1.1
|
||||
appVersion: 5.0.1
|
||||
keywords:
|
||||
- confluent
|
||||
|
||||
@@ -9,11 +9,20 @@ Expand the name of the chart.
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
If release name contains chart name it will be used as a full name.
|
||||
*/}}
|
||||
{{- define "schema-registry.fullname" -}}
|
||||
{{- if .Values.fullnameOverride -}}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||
{{- if contains $name .Release.Name -}}
|
||||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Form the Kafka URL. If Kafka is installed as part of this chart, use k8s service discovery,
|
||||
|
||||
Reference in New Issue
Block a user