diff --git a/bitnami/harbor-exporter/2/debian-12/Dockerfile b/bitnami/harbor-exporter/2/debian-12/Dockerfile index e987bdc566cf..3f9c50db9c65 100644 --- a/bitnami/harbor-exporter/2/debian-12/Dockerfile +++ b/bitnami/harbor-exporter/2/debian-12/Dockerfile @@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith" ARG TARGETARCH LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2026-06-05T20:49:12Z" \ + org.opencontainers.image.created="2026-06-09T09:12:51Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/harbor-exporter/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/harbor-exporter" \ @@ -49,7 +49,7 @@ COPY rootfs / RUN /opt/bitnami/scripts/harbor-exporter/postunpack.sh ENV APP_VERSION="2.15.1" \ BITNAMI_APP_NAME="harbor-exporter" \ - IMAGE_REVISION="6" \ + IMAGE_REVISION="7" \ PATH="/opt/bitnami/harbor-exporter/bin:$PATH" EXPOSE 9090 diff --git a/bitnami/harbor-exporter/2/debian-12/rootfs/opt/bitnami/scripts/libharborexporter.sh b/bitnami/harbor-exporter/2/debian-12/rootfs/opt/bitnami/scripts/libharborexporter.sh index e61cb2ee3417..ec206acba78f 100644 --- a/bitnami/harbor-exporter/2/debian-12/rootfs/opt/bitnami/scripts/libharborexporter.sh +++ b/bitnami/harbor-exporter/2/debian-12/rootfs/opt/bitnami/scripts/libharborexporter.sh @@ -84,6 +84,9 @@ harbor_exporter_validate() { check_resolved_hostname "$HARBOR_DATABASE_HOST" check_valid_port "HARBOR_DATABASE_PORT" + if [[ "$HARBOR_DATABASE_SSLMODE" = "disable" ]]; then + warn "HARBOR_DATABASE_SSLMODE is set to 'disable'. This is not recommended for production environments." + fi check_multi_value "HARBOR_SERVICE_SCHEME" "http https" check_resolved_hostname "$HARBOR_SERVICE_HOST"