[stable/kibana]: remove ports from initContainers (#10975)

Signed-off-by: unclejack <unclejack@users.noreply.github.com>
This commit is contained in:
unclejack
2019-01-31 23:10:57 -08:00
committed by Kubernetes Prow Robot
parent 9b83773941
commit 7755cea24c
6 changed files with 4 additions and 18 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kibana
version: 1.3.0
version: 1.4.0
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
@@ -69,7 +69,6 @@ The following table lists the configurable parameters of the kibana chart and th
| `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: |
+3
View File
@@ -0,0 +1,3 @@
---
# disable internal port by setting authProxyEnabled
authProxyEnabled: true
@@ -1,4 +0,0 @@
---
# disable internal service
service:
disableInternalPort: true
-10
View File
@@ -47,10 +47,6 @@ spec:
- name: "{{ $key }}"
value: "{{ $value }}"
{{- end }}
ports:
- containerPort: {{ .Values.service.internalPort }}
name: {{ template "kibana.name" . }}
protocol: TCP
volumeMounts:
- name: {{ template "kibana.fullname" . }}-dashboards
mountPath: "/kibanadashboards"
@@ -106,12 +102,6 @@ spec:
- name: "{{ $key }}"
value: "{{ $value }}"
{{- end }}
{{- if not .Values.service.disableInternalPort }}
ports:
- containerPort: {{ .Values.service.internalPort }}
name: {{ template "kibana.name" . }}
protocol: TCP
{{- end }}
volumeMounts:
- name: plugins
mountPath: /usr/share/kibana/plugins
-2
View File
@@ -35,8 +35,6 @@ 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