[stable/kibana] Added option to specify nodeport (#6807)

* Added option to specify nodeport

* Bumped version and fixed documentation
This commit is contained in:
Tommy Kindmark
2018-07-26 12:45:06 -07:00
committed by k8s-ci-robot
parent 8458f360f3
commit 4d03b7ccfd
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kibana
version: 0.8.0
version: 0.9.0
appVersion: 6.3.1
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
@@ -59,6 +59,7 @@ Parameter | Description | Default
`service.internalPort` | internal port for the service | `4180`
`service.externalIPs` | external IP addresses | None:
`service.loadBalancerIP` | Load Balancer IP address (to use with service.type LoadBalancer) | None:
`service.nodePort` | NodePort value if service.type is NodePort | None:
`service.type` | type of service | `ClusterIP`
`service.annotations` | Kubernetes service annotations | None:
`service.labels` | Kubernetes service labels | None:
+3
View File
@@ -20,6 +20,9 @@ spec:
- port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}
protocol: TCP
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{ .Values.service.nodePort }}
{{ end }}
{{- if .Values.service.externalIPs }}
externalIPs:
{{ toYaml .Values.service.externalIPs | indent 4 }}
+1
View File
@@ -30,6 +30,7 @@ service:
## Default: nil
##
# loadBalancerIP: 10.2.2.2
# nodePort: 30000
annotations:
# Annotation example: setup ssl with aws cert when service.type is LoadBalancer
# service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-1:EXAMPLE_CERT