[stable/kibana] Add pod custom labels (#11260)

Signed-off-by: pytimer <lixin20101023@gmail.com>
This commit is contained in:
pytimer
2019-02-10 12:15:11 -08:00
committed by Kubernetes Prow Robot
parent 57a2827957
commit d701bf9068
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kibana
version: 1.5.0
version: 1.5.1
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
+1
View File
@@ -57,6 +57,7 @@ The following table lists the configurable parameters of the kibana chart and th
| `ingress.tls` | Ingress TLS configuration | None: |
| `nodeSelector` | node labels for pod assignment | `{}` |
| `podAnnotations` | annotations to add to each pod | `{}` |
| `podLabels` | labels to add to each pod | `{}` |
| `replicaCount` | desired number of pods | `1` |
| `revisionHistoryLimit` | revisionHistoryLimit | `3` |
| `serviceAccountName` | DEPRECATED: use serviceAccount.name | `nil` |
+3
View File
@@ -24,6 +24,9 @@ spec:
labels:
app: {{ template "kibana.name" . }}
release: "{{ .Release.Name }}"
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
spec:
serviceAccountName: {{ template "kibana.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
+3
View File
@@ -138,6 +138,9 @@ podAnnotations: {}
replicaCount: 1
revisionHistoryLimit: 3
# Custom labels for pod assignment
podLabels: {}
# To export a dashboard from a running Kibana 6.3.x use:
# curl --user <username>:<password> -XGET https://kibana.yourdomain.com:5601/api/kibana/dashboards/export?dashboard=<some-dashboard-uuid> > my-dashboard.json
# A dashboard is defined by a name and a string with the json payload or the download url