mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
add pull secret option and enable adding additional commandline args (#4508)
This commit is contained in:
committed by
k8s-ci-robot
parent
1d990f6261
commit
2c5ab7c26d
@@ -1,5 +1,5 @@
|
||||
name: kibana
|
||||
version: 0.3.0
|
||||
version: 0.4.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
|
||||
|
||||
@@ -43,6 +43,8 @@ Parameter | Description | Default
|
||||
`image.pullPolicy` | Image pull policy | `IfNotPresent`
|
||||
`image.repository` | Image repository | `kibana`
|
||||
`image.tag` | Image tag | `6.0.0`
|
||||
`image.pullSecrets` |Specify image pull secrets | `nil`
|
||||
`commandline.args` | add additional commandline args | `nil`
|
||||
`ingress.enabled` | Enables Ingress | `false`
|
||||
`ingress.annotations` | Ingress annotations | None:
|
||||
`ingress.hosts` | Ingress accepted hostnames | None:
|
||||
|
||||
@@ -23,6 +23,12 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if .Values.commandline.args }}
|
||||
args:
|
||||
- "/bin/bash"
|
||||
- "/usr/local/bin/kibana-docker"
|
||||
{{ toYaml .Values.commandline.args | indent 10 }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- range $key, $value := .Values.env }}
|
||||
- name: "{{ $key }}"
|
||||
@@ -42,6 +48,10 @@ spec:
|
||||
# port: {{ .Values.service.internalPort }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 10 }}
|
||||
{{- if .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{ toYaml .Values.image.pullSecrets | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
|
||||
@@ -3,6 +3,9 @@ image:
|
||||
tag: "6.0.0"
|
||||
pullPolicy: "IfNotPresent"
|
||||
|
||||
commandline:
|
||||
args:
|
||||
|
||||
env:
|
||||
# All Kibana configuration options are adjustable via env vars.
|
||||
# To adjust a config option to an env var uppercase + replace `.` with `_`
|
||||
|
||||
Reference in New Issue
Block a user