Skip to content

Commit

Permalink
[stable/kibana] Add customizable service selector (helm#11957)
Browse files Browse the repository at this point in the history
* [stable/kibana] Implement customizable service selector

Signed-off-by: Pavel Dmytrenko <[email protected]>

* [stable/kibana] Add CI test

Signed-off-by: Pavel Dmytrenko <[email protected]>

* [stable/kibana] Update README

Signed-off-by: Pavel Dmytrenko <[email protected]>

* [stable/kibana] Bump version

Signed-off-by: Pavel Dmytrenko <[email protected]>
  • Loading branch information
pavdmyt authored and k8s-ci-robot committed Mar 6, 2019
1 parent 9c7938c commit 7a10da0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/kibana/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: kibana
version: 1.5.2
version: 1.6.0
appVersion: 6.6.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
Expand Down
1 change: 1 addition & 0 deletions stable/kibana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ The following table lists the configurable parameters of the kibana chart and th
| `service.clusterIP` | static clusterIP or None for headless services | None: |
| `service.annotations` | Kubernetes service annotations | None: |
| `service.labels` | Kubernetes service labels | None: |
| `service.selector` | Kubernetes service selector | `{}` |
| `tolerations` | List of node taints to tolerate | `[]` |
| `dashboardImport.timeout` | Time in seconds waiting for Kibana to be in green overall state | `60` |
| `dashboardImport.xpackauth.enabled` | Enable Xpack auth | `false` |
Expand Down
4 changes: 4 additions & 0 deletions stable/kibana/ci/service-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
service:
selector:
foo: bar
3 changes: 3 additions & 0 deletions stable/kibana/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ spec:
selector:
app: {{ template "kibana.name" . }}
release: {{ .Release.Name }}
{{- range $key, $value := .Values.service.selector }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
1 change: 1 addition & 0 deletions stable/kibana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ service:
# kubernetes.io/cluster-service: "true"
## Limit load balancer source ips to list of CIDRs (where available)
# loadBalancerSourceRanges: []
selector: {}

ingress:
enabled: false
Expand Down

0 comments on commit 7a10da0

Please sign in to comment.