From 81ddf1357fd3f4dcbeeb85e8c212dd937209ea8b Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 4 Sep 2025 01:20:53 +0200 Subject: [PATCH] [bitnami/harbor-exporter] Release 2.13.2-debian-12-r3 (#85738) Signed-off-by: Bitnami Bot --- .../harbor-exporter/2/debian-12/Dockerfile | 8 +- .../opt/bitnami/.bitnami_components.json | 8 -- .../opt/bitnami/scripts/libservice.sh | 74 ----------------- .../opt/bitnami/scripts/libwebserver.sh | 80 ------------------- .../rootfs/opt/bitnami/scripts/libharbor.sh | 4 - bitnami/harbor-exporter/README.md | 10 +-- 6 files changed, 9 insertions(+), 175 deletions(-) delete mode 100644 bitnami/harbor-exporter/2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json diff --git a/bitnami/harbor-exporter/2/debian-12/Dockerfile b/bitnami/harbor-exporter/2/debian-12/Dockerfile index da8cfac1bc22..ef36a47ba142 100644 --- a/bitnami/harbor-exporter/2/debian-12/Dockerfile +++ b/bitnami/harbor-exporter/2/debian-12/Dockerfile @@ -6,9 +6,8 @@ FROM docker.io/bitnami/minideb:bookworm ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith" ARG TARGETARCH -LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ - org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-08-14T11:14:37Z" \ +LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ + org.opencontainers.image.created="2025-09-03T23:10:10Z" \ 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" \ @@ -29,7 +28,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \ DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \ mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \ COMPONENTS=( \ - "harbor-exporter-2.13.2-2-linux-${OS_ARCH}-debian-12" \ + "harbor-exporter-2.13.2-3-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -50,6 +49,7 @@ COPY rootfs / RUN /opt/bitnami/scripts/harbor-exporter/postunpack.sh ENV APP_VERSION="2.13.2" \ BITNAMI_APP_NAME="harbor-exporter" \ + IMAGE_REVISION="3" \ PATH="/opt/bitnami/harbor-exporter/bin:$PATH" EXPOSE 9090 diff --git a/bitnami/harbor-exporter/2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/harbor-exporter/2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json deleted file mode 100644 index 68a9fba48137..000000000000 --- a/bitnami/harbor-exporter/2/debian-12/prebuildfs/opt/bitnami/.bitnami_components.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "harbor-exporter": { - "arch": "amd64", - "distro": "debian-12", - "type": "NAMI", - "version": "2.13.2-2" - } -} \ No newline at end of file diff --git a/bitnami/harbor-exporter/2/debian-12/prebuildfs/opt/bitnami/scripts/libservice.sh b/bitnami/harbor-exporter/2/debian-12/prebuildfs/opt/bitnami/scripts/libservice.sh index 1f9b33096b02..886962ebd276 100644 --- a/bitnami/harbor-exporter/2/debian-12/prebuildfs/opt/bitnami/scripts/libservice.sh +++ b/bitnami/harbor-exporter/2/debian-12/prebuildfs/opt/bitnami/scripts/libservice.sh @@ -142,80 +142,6 @@ EOF fi } -######################## -# Remove a cron configuration file for a given service -# Arguments: -# $1 - Service name -# Returns: -# None -######################### -remove_cron_conf() { - local service_name="${1:?service name is missing}" - local cron_conf_dir="/etc/monit/conf.d" - rm -f "${cron_conf_dir}/${service_name}" -} - -######################## -# Generate a monit configuration file for a given service -# Arguments: -# $1 - Service name -# $2 - Pid file -# $3 - Start command -# $4 - Stop command -# Flags: -# --disable - Whether to disable the monit configuration -# Returns: -# None -######################### -generate_monit_conf() { - local service_name="${1:?service name is missing}" - local pid_file="${2:?pid file is missing}" - local start_command="${3:?start command is missing}" - local stop_command="${4:?stop command is missing}" - local monit_conf_dir="/etc/monit/conf.d" - local disabled="no" - - # Parse optional CLI flags - shift 4 - while [[ "$#" -gt 0 ]]; do - case "$1" in - --disable) - disabled="yes" - ;; - *) - echo "Invalid command line flag ${1}" >&2 - return 1 - ;; - esac - shift - done - - is_boolean_yes "$disabled" && conf_suffix=".disabled" - mkdir -p "$monit_conf_dir" - cat > "${monit_conf_dir}/${service_name}.conf${conf_suffix:-}" < The exporter component metrics collects some data from the Harbor database. +> Harbor Exporter is one of the components of Harbor: a cloud-native registry that stores, signs, and scans content. This component expose Harbor metrics in Prometheus format. -[Overview of harbor-exporter](https://github.com/goharbor/harbor) +[Overview of Harbor Exporter](https://github.com/goharbor/harbor) ## TL;DR @@ -54,7 +54,7 @@ Subscribe to project updates by watching the [bitnami/containers GitHub repo](ht ## Configuration -harbor-exporter is a component of the Harbor application. In order to get the Harbor application running on Kubernetes we encourage you to check the [bitnami/harbor Helm chart](https://github.com/bitnami/charts/tree/master/bitnami/harbor) and configure it using the options exposed in the values.yaml file. +Harbor Exporter is a component of the Harbor application. In order to get the Harbor application running on Kubernetes we encourage you to check the [bitnami/harbor Helm chart](https://github.com/bitnami/charts/tree/master/bitnami/harbor) and configure it using the options exposed in the values.yaml file. For further information about the specific component itself, please refer to the [source repository documentation](https://github.com/goharbor/harbor/tree/main/docs