mirror of
https://github.com/bitnami/containers.git
synced 2026-03-05 16:17:21 +08:00
[bitnami/kubeapps-dashboard] Release 2.7.0-debian-11-r10 (#34026)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -3,10 +3,10 @@ FROM docker.io/bitnami/minideb:bullseye
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2023-05-14T23:14:54Z" \
|
||||
org.opencontainers.image.created="2023-05-15T20:47:37Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="2.7.0-debian-11-r9" \
|
||||
org.opencontainers.image.ref.name="2.7.0-debian-11-r10" \
|
||||
org.opencontainers.image.title="kubeapps-dashboard" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="2.7.0"
|
||||
|
||||
@@ -643,8 +643,8 @@ nginx_generate_sample_certs() {
|
||||
local certs_dir="${NGINX_CONF_DIR}/bitnami/certs"
|
||||
|
||||
if ! is_boolean_yes "$NGINX_SKIP_SAMPLE_CERTS" && [[ ! -f "${certs_dir}/server.crt" ]]; then
|
||||
ensure_dir_exists "$certs_dir"
|
||||
if is_file_writable "${certs_dir}/server.crt"; then
|
||||
# Check certificates directory exists and is writable
|
||||
if [[ -d "$certs_dir" && -w "$certs_dir" ]]; then
|
||||
SSL_KEY_FILE="${certs_dir}/server.key"
|
||||
SSL_CERT_FILE="${certs_dir}/server.crt"
|
||||
SSL_CSR_FILE="${certs_dir}/server.csr"
|
||||
@@ -656,7 +656,7 @@ nginx_generate_sample_certs() {
|
||||
openssl x509 -req -sha256 -in "$SSL_CSR_FILE" -signkey "$SSL_KEY_FILE" -out "$SSL_CERT_FILE" -days 1825 -extfile <(echo -n "$SSL_EXT")
|
||||
rm -f "$SSL_CSR_FILE"
|
||||
else
|
||||
warn "The certificates directories '${certs_dir}' is not writable, skipping sample HTTPS certificates generation"
|
||||
warn "The certificates directories '${certs_dir}' does not exist or is not writable, skipping sample HTTPS certificates generation"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user