mirror of
https://github.com/bitnami/charts.git
synced 2026-02-28 07:28:01 +08:00
[bitnami/elasticsearch] Ability to add extraHosts (#12145)
Signed-off-by: Arpit Agarwal <arpitjindal97@gmail.com> Signed-off-by: Arpit Agarwal <arpitjindal97@gmail.com>
This commit is contained in:
@@ -25,4 +25,4 @@ name: elasticsearch
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/elasticsearch
|
||||
- https://www.elastic.co/products/elasticsearch
|
||||
version: 19.2.5
|
||||
version: 19.3.0
|
||||
|
||||
@@ -96,6 +96,7 @@ $ helm delete --purge my-release
|
||||
| `snapshotRepoPath` | File System snapshot repository path | `""` |
|
||||
| `config` | Override elasticsearch configuration | `{}` |
|
||||
| `extraConfig` | Append extra configuration to the elasticsearch node configuration | `{}` |
|
||||
| `extraHosts` | A list of external hosts which are part of this cluster | `[]` |
|
||||
| `extraVolumes` | A list of volumes to be added to the pod | `[]` |
|
||||
| `extraVolumeMounts` | A list of volume mounts to be added to the pod | `[]` |
|
||||
| `initScripts` | Dictionary of init scripts. Evaluated as a template. | `{}` |
|
||||
@@ -971,4 +972,4 @@ Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
limitations under the License.
|
||||
|
||||
@@ -189,6 +189,9 @@ Return the hostname of every ElasticSearch seed node
|
||||
{{- $ingestFullname := (printf "%s-hl" (include "elasticsearch.ingest.fullname" .) | trunc 63 | trimSuffix "-") }}
|
||||
{{- $ingestFullname }}.{{ $releaseNamespace }}.svc.{{ $clusterDomain }},
|
||||
{{- end -}}
|
||||
{{- range .Values.extraHosts }}
|
||||
{{- . }},
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
|
||||
@@ -99,6 +99,12 @@ config: {}
|
||||
## ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html
|
||||
##
|
||||
extraConfig: {}
|
||||
## @param extraHosts A list of external hosts which are part of this cluster
|
||||
## Example Use Case: When you have a cluster with nodes spaned acorss multiple K8s or namespaces
|
||||
## extraHosts:
|
||||
## - datacenter2-elasticsearch-master-hl.namespace2.svc
|
||||
## - datacenter2-elasticsearch-data-hl.namespace2.svc
|
||||
extraHosts: []
|
||||
## @param extraVolumes A list of volumes to be added to the pod
|
||||
## Example Use Case: mount ssl certificates when elasticsearch has tls enabled
|
||||
## extraVolumes:
|
||||
|
||||
Reference in New Issue
Block a user