mirror of
https://github.com/bitnami/charts.git
synced 2026-02-10 20:07:22 +08:00
[bitnami/elasticsearch] Service name (#33775)
* [bitnami/elasticsearch] Service name Signed-off-by: tommyluk <tommyluk@hket.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: tommyluk <tommyluk@hket.com> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Signed-off-by: Carlos Rodríguez Hernández <carlos.rodriguez-hernandez@broadcom.com> Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Carlos Rodríguez Hernández <carlos.rodriguez-hernandez@broadcom.com> Co-authored-by: Miguel Ruiz <miguel.ruiz@broadcom.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 22.0.15 (2025-07-29)
|
||||
## 22.1.0 (2025-08-01)
|
||||
|
||||
* [bitnami/elasticsearch] :zap: :arrow_up: Update dependency references ([#35331](https://github.com/bitnami/charts/pull/35331))
|
||||
* [bitnami/elasticsearch] Service name ([#33775](https://github.com/bitnami/charts/pull/33775))
|
||||
|
||||
## <small>22.0.15 (2025-07-29)</small>
|
||||
|
||||
* [bitnami/elasticsearch] :zap: :arrow_up: Update dependency references (#35331) ([fe59151](https://github.com/bitnami/charts/commit/fe5915144d9606c8843e6d779d804b0de3cff874)), closes [#35331](https://github.com/bitnami/charts/issues/35331)
|
||||
|
||||
## <small>22.0.14 (2025-07-22)</small>
|
||||
|
||||
|
||||
@@ -36,4 +36,4 @@ maintainers:
|
||||
name: elasticsearch
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch
|
||||
version: 22.0.15
|
||||
version: 22.1.0
|
||||
|
||||
@@ -288,7 +288,8 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
|
||||
| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` |
|
||||
| `global.defaultStorageClass` | Global default StorageClass for Persistent Volume(s) | `""` |
|
||||
| `global.storageClass` | DEPRECATED: use global.defaultStorageClass instead | `""` |
|
||||
| `global.elasticsearch.service.name` | Elasticsearch service name to be used in the Kibana subchart (ignored if kibanaEnabled=false) | `elasticsearch` |
|
||||
| `global.elasticsearch.service.name` | Elasticsearch service name to be referenced by the Kibana subchart (ignored if kibanaEnabled=false or global.elasticsearch.service.fullname is set) | `elasticsearch` |
|
||||
| `global.elasticsearch.service.fullname` | Full Elasticsearch service name to be referenced by the Kibana subchart (ignored if kibanaEnabled=false) | `""` |
|
||||
| `global.elasticsearch.service.ports.restAPI` | Elasticsearch service restAPI port to be used in the Kibana subchart (ignored if kibanaEnabled=false) | `9200` |
|
||||
| `global.kibanaEnabled` | Whether or not to enable Kibana | `false` |
|
||||
| `global.security.allowInsecureImages` | Allows skipping image verification | `false` |
|
||||
|
||||
@@ -47,11 +47,16 @@ Required for the Kibana subchart to find Elasticsearch service.
|
||||
*/}}
|
||||
{{- define "elasticsearch.service.name" -}}
|
||||
{{- if .Values.global.kibanaEnabled -}}
|
||||
{{- $name := .Values.global.elasticsearch.service.name -}}
|
||||
{{- if contains $name .Release.Name -}}
|
||||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- if .Values.global.elasticsearch.service.fullname -}}
|
||||
{{- .Values.global.elasticsearch.service.fullname | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- $name := .Values.global.elasticsearch.service.name -}}
|
||||
{{- $releaseName := regexReplaceAll "(-?[^a-z\\d\\-])+-?" (lower .Release.Name) "-" -}}
|
||||
{{- if contains $name $releaseName -}}
|
||||
{{- $releaseName | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s-%s" $releaseName $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s" ( include "common.names.fullname" . ) | trunc 63 | trimSuffix "-" -}}
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
## @param global.imagePullSecrets Global Docker registry secret names as an array
|
||||
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
|
||||
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
|
||||
## @param global.elasticsearch.service.name Elasticsearch service name to be used in the Kibana subchart (ignored if kibanaEnabled=false)
|
||||
## @param global.elasticsearch.service.name Elasticsearch service name to be referenced by the Kibana subchart (ignored if kibanaEnabled=false or global.elasticsearch.service.fullname is set)
|
||||
## @param global.elasticsearch.service.fullname Full Elasticsearch service name to be referenced by the Kibana subchart (ignored if kibanaEnabled=false)
|
||||
## @param global.elasticsearch.service.ports.restAPI Elasticsearch service restAPI port to be used in the Kibana subchart (ignored if kibanaEnabled=false)
|
||||
## @param global.kibanaEnabled Whether or not to enable Kibana
|
||||
##
|
||||
@@ -31,6 +32,7 @@ global:
|
||||
elasticsearch:
|
||||
service:
|
||||
name: elasticsearch
|
||||
fullname: ""
|
||||
ports:
|
||||
restAPI: 9200
|
||||
kibanaEnabled: false
|
||||
|
||||
Reference in New Issue
Block a user