diff --git a/.vib/wavefront-prometheus-storage-adapter/goss/goss.yaml b/.vib/wavefront-prometheus-storage-adapter/goss/goss.yaml deleted file mode 100644 index bb6935366186..000000000000 --- a/.vib/wavefront-prometheus-storage-adapter/goss/goss.yaml +++ /dev/null @@ -1,10 +0,0 @@ -gossfile: - # Goss tests exclusive to the current container - ../../wavefront-prometheus-storage-adapter/goss/wavefront-prometheus-storage-adapter.yaml: {} - # Load scripts from .vib/common/goss/templates - ../../common/goss/templates/check-binaries.yaml: {} - ../../common/goss/templates/check-broken-symlinks.yaml: {} - ../../common/goss/templates/check-ca-certs.yaml: {} - ../../common/goss/templates/check-linked-libraries.yaml: {} - ../../common/goss/templates/check-sed-in-place.yaml: {} - ../../common/goss/templates/check-spdx.yaml: {} diff --git a/.vib/wavefront-prometheus-storage-adapter/goss/vars.yaml b/.vib/wavefront-prometheus-storage-adapter/goss/vars.yaml deleted file mode 100644 index 97f4c9556d75..000000000000 --- a/.vib/wavefront-prometheus-storage-adapter/goss/vars.yaml +++ /dev/null @@ -1,3 +0,0 @@ -binaries: - - adapter -root_dir: /opt/bitnami diff --git a/.vib/wavefront-prometheus-storage-adapter/goss/wavefront-prometheus-storage-adapter.yaml b/.vib/wavefront-prometheus-storage-adapter/goss/wavefront-prometheus-storage-adapter.yaml deleted file mode 100644 index b29c92886db5..000000000000 --- a/.vib/wavefront-prometheus-storage-adapter/goss/wavefront-prometheus-storage-adapter.yaml +++ /dev/null @@ -1,4 +0,0 @@ -command: - check-adapter-help: - exec: adapter --help - exit-status: 0 diff --git a/.vib/wavefront-prometheus-storage-adapter/vib-publish.json b/.vib/wavefront-prometheus-storage-adapter/vib-publish.json deleted file mode 100644 index f67dd6e12f54..000000000000 --- a/.vib/wavefront-prometheus-storage-adapter/vib-publish.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_CONTAINER_URL}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - }, - "architectures": [ - "linux/amd64", - "linux/arm64" - ] - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "trivy", - "params": { - "threshold": "CRITICAL", - "vuln_type": [ - "OS" - ] - } - }, - { - "action_id": "grype", - "params": { - "threshold": "CRITICAL", - "package_type": [ - "OS" - ] - } - }, - { - "action_id": "osspi-application", - "params": { - "additional_packages_file": "osspi-packages-amd64.json", - "scan_type": "BASE_OS", - "osm": { - "associated_bossd_release": "{VIB_ENV_BOSSD_RELEASE_ID}", - "product_name": "main-catalog-{VIB_ENV_CONTAINER}", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "architecture_overrides": [ - { - "architecture": "linux/amd64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container", - "additional_packages_file": "osspi-packages-amd64.json" - }, - { - "architecture": "linux/arm64", - "product_version": "{VIB_ENV_APP_VERSION}-{VIB_ENV_OS_FLAVOUR}-container-arm64", - "additional_packages_file": "osspi-packages-arm64.json" - } - ] - }, - "resources": { - "url": "{VIB_ENV_PACKAGES_JSON_URL}", - "path": "/{VIB_ENV_PATH}", - "authn": { - "header": "Authorization", - "token": "Bearer {VIB_ENV_GITHUB_TOKEN}" - } - } - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "wavefront-prometheus-storage-adapter/goss/goss.yaml", - "vars_file": "wavefront-prometheus-storage-adapter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-wavefront-prometheus-storage-adapter" - } - } - } - } - ] - }, - "publish": { - "actions": [ - { - "action_id": "container-image-publish", - "params": { - "metadata": { - "tags": {VIB_ENV_ROLLING_TAGS} - }, - "repository": { - "kind": "OCI", - "url": "{VIB_ENV_REGISTRY_URL}", - "authn": { - "username": "{VIB_ENV_REGISTRY_USERNAME}", - "password": "{VIB_ENV_REGISTRY_PASSWORD}" - } - } - } - } - ] - } - } -} diff --git a/.vib/wavefront-prometheus-storage-adapter/vib-verify.json b/.vib/wavefront-prometheus-storage-adapter/vib-verify.json deleted file mode 100644 index d8f343913765..000000000000 --- a/.vib/wavefront-prometheus-storage-adapter/vib-verify.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "context": { - "resources": { - "url": "{SHA_ARCHIVE}", - "path": "{VIB_ENV_PATH}" - }, - "runtime_parameters": "Y29tbWFuZDogWyJ0YWlsIiwgIi1mIiwgIi9kZXYvbnVsbCJd" - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - } - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "error" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "trivy", - "params": { - "threshold": "CRITICAL", - "vuln_type": [ - "OS" - ] - } - }, - { - "action_id": "grype", - "params": { - "threshold": "CRITICAL", - "package_type": [ - "OS" - ] - } - }, - { - "action_id": "goss", - "params": { - "resources": { - "path": "/.vib" - }, - "tests_file": "wavefront-prometheus-storage-adapter/goss/goss.yaml", - "vars_file": "wavefront-prometheus-storage-adapter/goss/vars.yaml", - "remote": { - "pod": { - "workload": "deploy-wavefront-prometheus-storage-adapter" - } - } - } - } - ] - } - } -} diff --git a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/Dockerfile b/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/Dockerfile deleted file mode 100644 index 5655d7dbcecf..000000000000 --- a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -FROM docker.io/bitnami/minideb:bullseye - -ARG TARGETARCH - -LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-06-17T11:24:49Z" \ - org.opencontainers.image.description="Application packaged by VMware, Inc" \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="1.0.7-debian-11-r28" \ - org.opencontainers.image.title="wavefront-prometheus-storage-adapter" \ - org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="1.0.7" - -ENV HOME="/" \ - OS_ARCH="${TARGETARCH:-amd64}" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" - -COPY prebuildfs / -SHELL ["/bin/bash", "-o", "pipefail", "-c"] -# Install required system packages and dependencies -RUN install_packages ca-certificates curl procps -RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - COMPONENTS=( \ - "wavefront-prometheus-storage-adapter-1.0.7-3-linux-${OS_ARCH}-debian-11" \ - ) && \ - for COMPONENT in "${COMPONENTS[@]}"; do \ - if [ ! -f "${COMPONENT}.tar.gz" ]; then \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz" -O ; \ - curl -SsLf "https://downloads.bitnami.com/files/stacksmith/${COMPONENT}.tar.gz.sha256" -O ; \ - fi && \ - sha256sum -c "${COMPONENT}.tar.gz.sha256" && \ - tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \ - done -RUN apt-get autoremove --purge -y curl && \ - apt-get update && apt-get upgrade -y && \ - apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives -RUN chmod g+rwX /opt/bitnami - -ENV APP_VERSION="1.0.7" \ - BITNAMI_APP_NAME="wavefront-prometheus-storage-adapter" \ - PATH="/opt/bitnami/wavefront-prometheus-storage-adapter/bin:$PATH" - -USER 1001 -ENTRYPOINT [ "adapter" ] -CMD [ "--help" ] diff --git a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/docker-compose.yml b/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/docker-compose.yml deleted file mode 100644 index 8d312ced97e0..000000000000 --- a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/docker-compose.yml +++ /dev/null @@ -1,4 +0,0 @@ -version: '2' -services: - wavefront-prometheus-storage-adapter: - image: docker.io/bitnami/wavefront-prometheus-storage-adapter:1 diff --git a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json deleted file mode 100644 index 25c0e8a404e4..000000000000 --- a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "wavefront-prometheus-storage-adapter": { - "arch": "amd64", - "distro": "debian-11", - "type": "NAMI", - "version": "1.0.7-3" - } -} \ No newline at end of file diff --git a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt deleted file mode 100644 index 8373a19703c6..000000000000 --- a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt +++ /dev/null @@ -1,3 +0,0 @@ -Bitnami containers ship with software bundles. You can find the licenses at: -https://bitnami.com/open-source -/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt diff --git a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/prebuildfs/usr/sbin/install_packages deleted file mode 100755 index 77857a1a57f2..000000000000 --- a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/prebuildfs/usr/sbin/install_packages +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -set -eu - -n=0 -max=2 -export DEBIAN_FRONTEND=noninteractive - -until [ $n -gt $max ]; do - set +e - ( - apt-get update -qq && - apt-get install -y --no-install-recommends "$@" - ) - CODE=$? - set -e - if [ $CODE -eq 0 ]; then - break - fi - if [ $n -eq $max ]; then - exit $CODE - fi - echo "apt failed, retrying" - n=$(($n + 1)) -done -apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/tags-info.yaml b/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/tags-info.yaml deleted file mode 100644 index af4c19a8049f..000000000000 --- a/bitnami/wavefront-prometheus-storage-adapter/1/debian-11/tags-info.yaml +++ /dev/null @@ -1,5 +0,0 @@ -rolling-tags: -- "1" -- 1-debian-11 -- 1.0.7 -- latest diff --git a/bitnami/wavefront-prometheus-storage-adapter/README.md b/bitnami/wavefront-prometheus-storage-adapter/README.md deleted file mode 100644 index 4ab220c45b35..000000000000 --- a/bitnami/wavefront-prometheus-storage-adapter/README.md +++ /dev/null @@ -1,98 +0,0 @@ -# Deprecation notice - -Remove Wavefront Prometheus Adapter container since this installation method has been deprecated in favor of the Kubernetes Operator. - -## Wavefront Prometheus Adapter packaged by Bitnami - -## What is Wavefront Prometheus Adapter? - -> Wavefront Storage Adapter is a Prometheus integration to transfer metrics from Prometheus to Wavefront. It lets you save Prometheus data in Wavefront without changing your existing Prometheus setup. - -[Overview of Wavefront Prometheus Adapter](https://github.com/wavefrontHQ/prometheus-storage-adapter) - -## TL;DR - -```console -docker run --name wavefront-prometheus-storage-adapter bitnami/wavefront-prometheus-storage-adapter:latest -``` - -## Why use Bitnami Images? - -* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems. -* With Bitnami images the latest bug fixes and features are available as soon as possible. -* Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs. -* All our images are based on [minideb](https://github.com/bitnami/minideb) a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading Linux distribution. -* All Bitnami images available in Docker Hub are signed with [Docker Content Trust (DCT)](https://docs.docker.com/engine/security/trust/content_trust/). You can use `DOCKER_CONTENT_TRUST=1` to verify the integrity of the images. -* Bitnami container images are released on a regular basis with the latest distribution packages available. - -Looking to use Wavefront Prometheus Adapter in production? Try [VMware Application Catalog](https://bitnami.com/enterprise), the enterprise edition of Bitnami Application Catalog. - -## Supported tags and respective `Dockerfile` links - -Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). - -You can see the equivalence between the different tags by taking a look at the `tags-info.yaml` file present in the branch folder, i.e `bitnami/ASSET/BRANCH/DISTRO/tags-info.yaml`. - -Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers). - -## Get this image - -The recommended way to get the Bitnami wavefront-prometheus-storage-adapter Docker Image is to pull the prebuilt image from the [Docker Hub Registry](https://hub.docker.com/r/bitnami/wavefront-prometheus-storage-adapter). - -```console -docker pull bitnami/wavefront-prometheus-storage-adapter:latest -``` - -To use a specific version, you can pull a versioned tag. You can view the [list of available versions](https://hub.docker.com/r/bitnami/wavefront-prometheus-storage-adapter/tags/) in the Docker Hub Registry. - -```console -docker pull bitnami/wavefront-prometheus-storage-adapter:[TAG] -``` - -If you wish, you can also build the image yourself by cloning the repository, changing to the directory containing the Dockerfile and executing the `docker build` command. Remember to replace the `APP`, `VERSION` and `OPERATING-SYSTEM` path placeholders in the example command below with the correct values. - -```console -git clone https://github.com/bitnami/containers.git -cd bitnami/APP/VERSION/OPERATING-SYSTEM -docker build -t bitnami/APP:latest . -``` - -## Why use a non-root container? - -Non-root container images add an extra layer of security and are generally recommended for production environments. However, because they run as a non-root user, privileged tasks are typically off-limits. Learn more about non-root containers [in our docs](https://docs.bitnami.com/tutorials/work-with-non-root-containers/). - -## Configuration - -### Running commands - -To run commands inside this container you can use `docker run`, for example to execute `wavefront-prometheus-storage-adapter --version` you can follow the example below: - -```console -docker run --rm --name wavefront-prometheus-storage-adapter bitnami/wavefront-prometheus-storage-adapter:latest -- wavefront-prometheus-storage-adapter --version -``` - -Check the [official Wavefront Storage Adapter for Prometheus documentation](https://github.com/wavefrontHQ/prometheus-storage-adapter#configuration) for a list of the available parameters. - -## Contributing - -We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution. - -## Issues - -If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/containers/issues/new/choose). For us to provide better support, be sure to fill the issue template. - -## License - -Copyright © 2023 VMware, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/bitnami/wavefront-prometheus-storage-adapter/docker-compose.yml b/bitnami/wavefront-prometheus-storage-adapter/docker-compose.yml deleted file mode 100644 index 8d312ced97e0..000000000000 --- a/bitnami/wavefront-prometheus-storage-adapter/docker-compose.yml +++ /dev/null @@ -1,4 +0,0 @@ -version: '2' -services: - wavefront-prometheus-storage-adapter: - image: docker.io/bitnami/wavefront-prometheus-storage-adapter:1