[bitnami/opensearch-dashboards] Release 1.3.14-debian-11-r1 (#54196)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2023-12-24 11:40:27 +01:00 committed by GitHub
parent 751e6daeab
commit 6e355b40b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 5 deletions

View File

@ -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"

View File

@ -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