Expose transport port 9300 on client service (ClusterIP) (#13090)

* Expose transport port based on new configuration parameter 'client.exposeTransportPort'

Signed-off-by: Paweł Kubica <pawel.kubica@comarch.pl>

* Update README.md

Signed-off-by: Paweł Kubica <pawel.kubica@comarch.pl>

* Bump Chart version.

Signed-off-by: Paweł Kubica <pawel.kubica@comarch.pl>

* Update stable/elasticsearch/Chart.yaml

Bump minor version instead of a patch

Co-Authored-By: pawcykca <49437476+pawcykca@users.noreply.github.com>
Signed-off-by: Paweł Kubica <pawel.kubica@comarch.pl>

* Add test value to ci directory

Signed-off-by: Paweł Kubica <pawel.kubica@comarch.pl>

* Bump chart version

Signed-off-by: Paweł Kubica <pawel.kubica@comarch.pl>
This commit is contained in:
pawcykca
2019-04-23 07:38:11 -07:00
committed by Kubernetes Prow Robot
parent 692a1e3da1
commit a98d206d1f
4 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: elasticsearch
home: https://www.elastic.co/products/elasticsearch
version: 1.25.0
version: 1.26.0
appVersion: 6.7.0
description: Flexible and powerful open source, distributed real-time search and analytics
engine.
+1
View File
@@ -99,6 +99,7 @@ The following table lists the configurable parameters of the elasticsearch chart
| `client.ingress.annotations` | Client Ingress annotations | `{}` |
| `client.ingress.hosts` | Client Ingress Hostnames | `[]` |
| `client.ingress.tls` | Client Ingress TLS configuration | `[]` |
| `client.exposeTransportPort` | Expose transport port 9300 on client service (ClusterIP) | `false` |
| `master.initResources` | Master initContainer resources requests & limits | `{}` |
| `master.additionalJavaOpts` | Parameters to be added to `ES_JAVA_OPTS` environment variable for master | `""` |
| `master.exposeHttp` | Expose http port 9200 on master Pods for monitoring, etc | `false` |
@@ -0,0 +1,5 @@
---
# Expose transport port on ClusterIP service
client:
exposeTransportPort: true
@@ -21,6 +21,11 @@ spec:
nodePort: {{ .Values.client.httpNodePort }}
{{- end }}
targetPort: http
{{- if .Values.client.exposeTransportPort }}
- name: transport
port: 9300
targetPort: transport
{{- end }}
selector:
app: {{ template "elasticsearch.name" . }}
component: "{{ .Values.client.name }}"