mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
Kubernetes Prow Robot
parent
692a1e3da1
commit
a98d206d1f
@@ -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.
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user