Support headless service/clusterIP and service port name for Kibana. (#11043)

Signed-off-by: Kit Ewbank <Christopher.Ewbank@capitalone.com>
This commit is contained in:
Kit Ewbank
2019-02-03 12:55:03 -08:00
committed by Kubernetes Prow Robot
parent 4c2ca4c38a
commit 19c1b41dae
4 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kibana
version: 1.4.0
version: 1.4.1
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
+2
View File
@@ -70,12 +70,14 @@ The following table lists the configurable parameters of the kibana chart and th
| `priorityClassName` | priorityClassName | `nil` |
| `service.externalPort` | external port for the service | `443` |
| `service.internalPort` | internal port for the service | `4180` |
| `service.portName` | service port name | None: |
| `service.authProxyPort` | port to use when using sidecar authProxy | None: |
| `service.externalIPs` | external IP addresses | None: |
| `service.loadBalancerIP` | Load Balancer IP address | None: |
| `service.loadBalancerSourceRanges` | Limit load balancer source IPs to list of CIDRs (where available)) | `[]` |
| `service.nodePort` | NodePort value if service.type is NodePort | None: |
| `service.type` | type of service | `ClusterIP` |
| `service.clusterIP` | static clusterIP or None for headless services | None: |
| `service.annotations` | Kubernetes service annotations | None: |
| `service.labels` | Kubernetes service labels | None: |
| `tolerations` | List of node taints to tolerate | `[]` |
+6
View File
@@ -24,6 +24,9 @@ spec:
{{- end }}
{{- end }}
type: {{ .Values.service.type }}
{{- if and (eq .Values.service.type "ClusterIP") .Values.service.clusterIP }}
clusterIP: {{ .Values.service.clusterIP }}
{{- end }}
ports:
- port: {{ .Values.service.externalPort }}
{{- if not .Values.authProxyEnabled }}
@@ -35,6 +38,9 @@ spec:
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{ .Values.service.nodePort }}
{{ end }}
{{- if .Values.service.portName }}
name: {{ .Values.service.portName }}
{{- end }}
{{- if .Values.service.externalIPs }}
externalIPs:
{{ toYaml .Values.service.externalIPs | indent 4 }}
+2
View File
@@ -34,6 +34,8 @@ deployment:
service:
type: ClusterIP
# clusterIP: None
# portName: kibana-svc
externalPort: 443
internalPort: 5601
# authProxyPort: 5602 To be used with authProxyEnabled and a proxy extraContainer