Add custom labels to all k8s objects in chart (#201)
This commit is contained in:
parent
7219a37065
commit
adbc6b7fcf
@ -21,7 +21,7 @@ apiVersion: v2
|
|||||||
appVersion: "2.7.4"
|
appVersion: "2.7.4"
|
||||||
description: Apache Pulsar Helm chart for Kubernetes
|
description: Apache Pulsar Helm chart for Kubernetes
|
||||||
name: pulsar
|
name: pulsar
|
||||||
version: 2.7.9
|
version: 2.7.10
|
||||||
home: https://pulsar.apache.org
|
home: https://pulsar.apache.org
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/apache/pulsar
|
- https://github.com/apache/pulsar
|
||||||
|
|||||||
@ -66,6 +66,9 @@ chart: {{ template "pulsar.chart" . }}
|
|||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
cluster: {{ template "pulsar.cluster.name" . }}
|
cluster: {{ template "pulsar.cluster.name" . }}
|
||||||
|
{{- if .Values.labels }}
|
||||||
|
{{ .Values.labels | toYaml | trim }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
@ -75,6 +78,9 @@ Create the template labels.
|
|||||||
app: {{ template "pulsar.name" . }}
|
app: {{ template "pulsar.name" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
cluster: {{ template "pulsar.cluster.name" . }}
|
cluster: {{ template "pulsar.cluster.name" . }}
|
||||||
|
{{- if .Values.labels }}
|
||||||
|
{{ .Values.labels | toYaml | trim }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
|
|||||||
@ -40,6 +40,11 @@ initialize: false
|
|||||||
## Set cluster name
|
## Set cluster name
|
||||||
# clusterName:
|
# clusterName:
|
||||||
|
|
||||||
|
## add custom labels to components of cluster
|
||||||
|
# labels:
|
||||||
|
# environment: dev
|
||||||
|
# customer: apache
|
||||||
|
|
||||||
## Pulsar Metadata Prefix
|
## Pulsar Metadata Prefix
|
||||||
##
|
##
|
||||||
## By default, pulsar stores all the metadata at root path.
|
## By default, pulsar stores all the metadata at root path.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user