mirror of
https://github.com/bitnami/charts.git
synced 2026-02-10 20:27:38 +08:00
[bitnami/kibana] Add overwrite parameter to import saved objects managing (#33282)
* [bitnami/kibana] Add overwrite parameter to import saved objects managing. Signed-off-by: Vladyslav Mostovyk <mostovykvlad@gmail.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> * Update bitnami/kibana/values.yaml Co-authored-by: Fran Mulero <francisco-jose.mulero@broadcom.com> Signed-off-by: MostovykVlad <121498205+MostovykVlad@users.noreply.github.com> * Update bitnami/kibana/templates/saved-objects-configmap.yaml Co-authored-by: Fran Mulero <francisco-jose.mulero@broadcom.com> Signed-off-by: MostovykVlad <121498205+MostovykVlad@users.noreply.github.com> * Update bitnami/kibana/Chart.yaml Co-authored-by: Fran Mulero <francisco-jose.mulero@broadcom.com> Signed-off-by: MostovykVlad <121498205+MostovykVlad@users.noreply.github.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> --------- Signed-off-by: Vladyslav Mostovyk <mostovykvlad@gmail.com> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Signed-off-by: MostovykVlad <121498205+MostovykVlad@users.noreply.github.com> Signed-off-by: Fran Mulero <francisco-jose.mulero@broadcom.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Fran Mulero <francisco-jose.mulero@broadcom.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 12.0.2 (2025-05-07)
|
||||
## 12.1.0 (2025-05-14)
|
||||
|
||||
* [bitnami/kibana] Release 12.0.2 ([#33499](https://github.com/bitnami/charts/pull/33499))
|
||||
* [bitnami/kibana] Add overwrite parameter to import saved objects managing ([#33282](https://github.com/bitnami/charts/pull/33282))
|
||||
|
||||
## <small>12.0.2 (2025-05-07)</small>
|
||||
|
||||
* [bitnami/kibana] Release 12.0.2 (#33499) ([c461c0a](https://github.com/bitnami/charts/commit/c461c0a50b8519e07f7e975d9ea66dd1061159f5)), closes [#33499](https://github.com/bitnami/charts/issues/33499)
|
||||
|
||||
## <small>12.0.1 (2025-05-06)</small>
|
||||
|
||||
|
||||
@@ -35,4 +35,4 @@ maintainers:
|
||||
name: kibana
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/kibana
|
||||
version: 12.0.2
|
||||
version: 12.1.0
|
||||
|
||||
@@ -307,6 +307,7 @@ You can enable this initContainer by setting `volumePermissions.enabled` to `tru
|
||||
| `plugins` | Array containing the Kibana plugins to be installed in deployment | `[]` |
|
||||
| `savedObjects.urls` | Array containing links to NDJSON files to be imported during Kibana initialization | `[]` |
|
||||
| `savedObjects.configmap` | Configmap containing NDJSON files to be imported during Kibana initialization (evaluated as a template) | `""` |
|
||||
| `savedObjects.overwrite` | Overwrite saved objects | `false` |
|
||||
| `extraConfiguration` | Extra settings to be added to the default kibana.yml configmap that the chart creates (unless replaced using `configurationCM`). Evaluated as a template | `{}` |
|
||||
| `configurationCM` | ConfigMap containing a kibana.yml file that will replace the default one specified in configuration.yaml | `""` |
|
||||
| `command` | Override default container command (useful when using custom images) | `[]` |
|
||||
|
||||
@@ -14,7 +14,7 @@ metadata:
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
data:
|
||||
{{- $savedObjectsUrl := printf "localhost:%d%s/api/saved_objects/_import" (int .Values.containerPorts.http) (include "kibana.basePath" .) }}
|
||||
{{- $savedObjectsUrl := printf "localhost:%d%s/api/saved_objects/_import%s" (int .Values.containerPorts.http) (include "kibana.basePath" .) (ternary "?overwrite=true" "" .Values.savedObjects.overwrite) }}
|
||||
import-saved-objects.sh: |
|
||||
#!/bin/bash
|
||||
echo "==> Saved objects import"
|
||||
|
||||
@@ -162,6 +162,9 @@ savedObjects:
|
||||
## @param savedObjects.configmap Configmap containing NDJSON files to be imported during Kibana initialization (evaluated as a template)
|
||||
##
|
||||
configmap: ""
|
||||
## @param savedObjects.overwrite Overwrite saved objects
|
||||
overwrite: false
|
||||
##
|
||||
## @param extraConfiguration Extra settings to be added to the default kibana.yml configmap that the chart creates (unless replaced using `configurationCM`). Evaluated as a template
|
||||
##
|
||||
extraConfiguration: {}
|
||||
|
||||
Reference in New Issue
Block a user