From 6e355b40b8e3ee4afedeeeb736cd8117976d4f8e Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Sun, 24 Dec 2023 11:40:27 +0100 Subject: [PATCH] [bitnami/opensearch-dashboards] Release 1.3.14-debian-11-r1 (#54196) Signed-off-by: Bitnami Containers --- .../1/debian-11/Dockerfile | 4 ++-- .../scripts/libopensearchdashboards.sh | 23 ++++++++++++++++--- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/bitnami/opensearch-dashboards/1/debian-11/Dockerfile b/bitnami/opensearch-dashboards/1/debian-11/Dockerfile index 9f7bd7583811..0f416087d16f 100644 --- a/bitnami/opensearch-dashboards/1/debian-11/Dockerfile +++ b/bitnami/opensearch-dashboards/1/debian-11/Dockerfile @@ -7,10 +7,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-12-14T04:27:31Z" \ + org.opencontainers.image.created="2023-12-24T09:31:11Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="1.3.14-debian-11-r0" \ + org.opencontainers.image.ref.name="1.3.14-debian-11-r1" \ org.opencontainers.image.title="opensearch-dashboards" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="1.3.14" diff --git a/bitnami/opensearch-dashboards/1/debian-11/rootfs/opt/bitnami/scripts/libopensearchdashboards.sh b/bitnami/opensearch-dashboards/1/debian-11/rootfs/opt/bitnami/scripts/libopensearchdashboards.sh index ac085cc22508..ab2987b66980 100644 --- a/bitnami/opensearch-dashboards/1/debian-11/rootfs/opt/bitnami/scripts/libopensearchdashboards.sh +++ b/bitnami/opensearch-dashboards/1/debian-11/rootfs/opt/bitnami/scripts/libopensearchdashboards.sh @@ -129,9 +129,26 @@ kibana_initialize() { exit 1 fi fi - # Override configuration - if [[ "$SERVER_FLAVOR" = "kibana" ]] && is_boolean_yes "$KIBANA_DISABLE_STRICT_CSP"; then - kibana_conf_set "csp.strict" "false" "bool" + # Kibana override configuration + if [[ "$SERVER_FLAVOR" = "kibana" ]]; then + if is_boolean_yes "$KIBANA_DISABLE_STRICT_CSP"; then + kibana_conf_set "csp.strict" "false" "bool" + fi + if ! is_empty_value "$KIBANA_SERVER_PUBLICBASEURL"; then + kibana_conf_set "server.publicBaseUrl" "$KIBANA_SERVER_PUBLICBASEURL" + fi + if ! is_empty_value "$KIBANA_XPACK_SECURITY_ENCRYPTIONKEY"; then + kibana_conf_set "xpack.security.encryptionKey" "$KIBANA_XPACK_SECURITY_ENCRYPTIONKEY" + fi + if ! is_empty_value "$KIBANA_XPACK_REPORTING_ENCRYPTIONKEY"; then + kibana_conf_set "xpack.reporting.encryptionKey" "$KIBANA_XPACK_REPORTING_ENCRYPTIONKEY" + fi + if ! is_boolean_yes "$KIBANA_NEWSFEED_ENABLED"; then + kibana_conf_set "newsfeed.enabled" "false" "bool" + fi + if [[ "$KIBANA_ELASTICSEARCH_REQUESTTIMEOUT" != "30000" ]]; then + kibana_conf_set "elasticsearch.requestTimeout" "$KIBANA_ELASTICSEARCH_REQUESTTIMEOUT" + fi fi # Configure Elasticsearch/Opensearch authentication