[stable/kibana] Make serviceAccountName configurable (#5800)

This commit is contained in:
Benoît Quartier
2018-06-01 08:47:56 -07:00
committed by k8s-ci-robot
parent 1afa036bf9
commit 770c4bfb3c
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kibana
version: 0.5.0
version: 0.6.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
+1
View File
@@ -52,6 +52,7 @@ Parameter | Description | Default
`nodeSelector` | node labels for pod assignment | `{}`
`podAnnotations` | annotations to add to each pod | `{}`
`replicaCount` | desired number of pods | `1`
`serviceAccountName` | serviceAccount that will run the pod | `nil`
`resources` | pod resource requests & limits | `{}`
`service.externalPort` | external port for the service | `443`
`service.internalPort` | internal port for the service | `4180`
+3
View File
@@ -19,6 +19,9 @@ spec:
app: {{ template "kibana.name" . }}
release: "{{ .Release.Name }}"
spec:
{{- if .Values.serviceAccountName }}
serviceAccountName: {{ .Values.serviceAccountName }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
+3
View File
@@ -46,6 +46,9 @@ ingress:
# hosts:
# - chart-example.local
# service account that will run the pod. Leave commented to use the default service account.
# serviceAccountName: kibana
resources: {}
# limits:
# cpu: 100m