[stable/kibana] Support custom labels on Service

This commit is contained in:
Nicolas Trangez
2018-06-04 20:54:15 +02:00
parent 3b562d074d
commit 857dcc3662
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kibana
version: 0.6.0
version: 0.6.1
appVersion: 6.0.0
description: Kibana is an open source data visualization plugin for Elasticsearch
icon: https://raw.githubusercontent.com/elastic/kibana/master/src/ui/public/icons/kibana-color.svg
+3
View File
@@ -6,6 +6,9 @@ metadata:
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- range $key, $value := .Values.service.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
name: {{ template "kibana.fullname" . }}
annotations:
{{- range $key, $value := .Values.service.annotations }}
+3
View File
@@ -33,6 +33,9 @@ service:
annotations:
# Annotation example: setup ssl with aws cert when service.type is LoadBalancer
# service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-1:EXAMPLE_CERT
labels:
## Label example: show service URL in `kubectl cluster-info`
# kubernetes.io/cluster-service: "true"
ingress:
enabled: false