Add svc annotations support in kibana chart (#4480)

* Adding support for kibana svc annotations.

* Increment Chart version

* Add svc annotation in README.md

* Add default value and example in values.yaml

* increment minor version

* Update comment in values.yml file to follow guidelines

* add home to Chart.yaml file to pass validation test

* add newline char
This commit is contained in:
Jess G
2018-03-27 13:43:03 -07:00
committed by k8s-ci-robot
parent 584c5e3769
commit 0dd644755b
4 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
name: kibana
version: 0.2.3
version: 0.3.0
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
@@ -12,3 +12,4 @@ maintainers:
sources:
- https://github.com/elastic/kibana
engine: gotpl
home: https://www.elastic.co/products/kibana
+1
View File
@@ -55,6 +55,7 @@ Parameter | Description | Default
`service.internalPort` | internal port for the service | `4180`
`service.externalIPs` | external IP addresses | None:
`service.type` | type of service | `ClusterIP`
`service.annotations` | Kubernetes service annotations | None:
`tolerations` | List of node taints to tolerate | `[]`
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
+4
View File
@@ -7,6 +7,10 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
name: {{ template "kibana.fullname" . }}
annotations:
{{- range $key, $value := .Values.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
+3
View File
@@ -22,6 +22,9 @@ service:
##
# externalIPs:
# - 192.168.0.1
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
ingress:
enabled: false