mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kibana] Ability to mount additional configmaps (#9997)
* [stable/kibana] Ability to mount additional configmaps Signed-off-by: Mikhail Advani <mikhail.advani@gmail.com> * [stable/kibana] Test addition and version correction Signed-off-by: Mikhail Advani <mikhail.advani@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0951e9f076
commit
f43874c056
@@ -1,5 +1,5 @@
|
||||
name: kibana
|
||||
version: 1.0.3
|
||||
version: 1.1.0
|
||||
appVersion: 6.5.3
|
||||
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
|
||||
|
||||
@@ -100,6 +100,7 @@ The following table lists the configurable parameters of the kibana chart and th
|
||||
| `securityContext.allowPrivilegeEscalation` | Allow privilege escalation | `false` |
|
||||
| `securityContext.runAsUser` | User id to run in pods | `1000` |
|
||||
| `securityContext.fsGroup` | fsGroup id to run in pods | `2000` |
|
||||
| `extraConfigMapMounts` | Additional configmaps to be mounted | `[]` |
|
||||
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
extraConfigMapMounts:
|
||||
- name: logtrail-configs
|
||||
configMap: kibana-logtrail
|
||||
mountPath: /usr/share/kibana/plugins/logtrail/logtrail.json
|
||||
subPath: logtrail.json
|
||||
@@ -173,6 +173,11 @@ spec:
|
||||
{{- end }}
|
||||
{{- with .Values.extraContainers }}
|
||||
{{ tpl . $ | indent 6 }}
|
||||
{{- end }}
|
||||
{{- range .Values.extraConfigMapMounts }}
|
||||
- name: {{ .name }}
|
||||
mountPath: {{ .mountPath }}
|
||||
subPath: {{ .subPath }}
|
||||
{{- end }}
|
||||
{{- if .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
@@ -215,3 +220,8 @@ spec:
|
||||
name: {{ template "kibana.fullname" . }}-importscript
|
||||
defaultMode: 0777
|
||||
{{- end }}
|
||||
{{- range .Values.extraConfigMapMounts }}
|
||||
- name: {{ .name }}
|
||||
configMap:
|
||||
name: {{ .configMap }}
|
||||
{{- end }}
|
||||
|
||||
@@ -177,3 +177,9 @@ securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsUser: 1000
|
||||
fsGroup: 2000
|
||||
|
||||
extraConfigMapMounts: []
|
||||
# - name: logtrail-configs
|
||||
# configMap: kibana-logtrail
|
||||
# mountPath: /usr/share/kibana/plugins/logtrail/logtrail.json
|
||||
# subPath: logtrail.json
|
||||
|
||||
Reference in New Issue
Block a user