[stable/kibana]: allow adding volumes & mounts (#10763)

Signed-off-by: unclejack <unclejack@users.noreply.github.com>
This commit is contained in:
unclejack
2019-01-25 09:56:58 -08:00
committed by Kubernetes Prow Robot
parent 5a1ab776a9
commit 1f0979ac62
6 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kibana
version: 1.1.2
version: 1.2.0
appVersion: 6.5.4
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
@@ -64,9 +64,12 @@ The following table lists the configurable parameters of the kibana chart and th
| `serviceAccount.name` | name of the serviceAccount to create | `kibana.fullname` |
| `authProxyEnabled` | enables authproxy. Create container in extracontainers | `false` |
| `extraContainers` | Sidecar containers to add to the kibana pod| `{}` |
| `extraVolumeMounts` | additional volumemounts for the kibana pod | `[]` |
| `extraVolumes` | additional volumes to add to the kibana pod| `[]` |
| `resources` | pod resource requests & limits | `{}` |
| `priorityClassName` | priorityClassName | `nil` |
| `service.externalPort` | external port for the service | `443` |
| `service.disableInternalPort` | disable internal port when using sidecar | `false` |
| `service.internalPort` | internal port for the service | `4180` |
| `service.authProxyPort` | port to use when using sidecar authProxy | None: |
| `service.externalIPs` | external IP addresses | None: |
-1
View File
@@ -18,4 +18,3 @@ dashboardImport:
}
]
}
@@ -0,0 +1,4 @@
---
# disable internal service
service:
disableInternalPort: true
+8
View File
@@ -106,10 +106,12 @@ spec:
- name: "{{ $key }}"
value: "{{ $value }}"
{{- end }}
{{- if .Values.service.disableInternalPort }}
ports:
- containerPort: {{ .Values.service.internalPort }}
name: {{ template "kibana.name" . }}
protocol: TCP
{{- end }}
volumeMounts:
- name: plugins
mountPath: /usr/share/kibana/plugins
@@ -171,6 +173,9 @@ spec:
mountPath: "/usr/share/kibana/config/{{ $configFile }}"
subPath: {{ $configFile }}
{{- end }}
{{- if .Values.extraVolumeMounts }}
{{ toYaml .Values.extraVolumeMounts | indent 10 }}
{{- end }}
{{- if .Values.plugins.enabled}}
- name: plugins
mountPath: /usr/share/kibana/plugins
@@ -229,3 +234,6 @@ spec:
configMap:
name: {{ .configMap }}
{{- end }}
{{- if .Values.extraVolumes }}
{{ toYaml .Values.extraVolumes | indent 8 }}
{{- end }}
+7
View File
@@ -35,6 +35,8 @@ deployment:
service:
type: ClusterIP
externalPort: 443
# disables the internal port if set to true; to be used with a sidecar
disableInternalPort: false
internalPort: 5601
# authProxyPort: 5602 To be used with authProxyEnabled and a proxy extraContainer
## External IP addresses of service
@@ -105,6 +107,11 @@ extraContainers: |
# ports:
# - name: web
# containerPort: 9090
extraVolumeMounts: []
extraVolumes: []
resources: {}
# limits:
# cpu: 100m