Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nats ib error removal[Do not merge] #363

Merged
merged 9 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 42 additions & 42 deletions bitnami_tags.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
airflow:
docker_links:
- '[`2`, `2-debian-11`, `2.7.3`, `2.7.3-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/airflow/2/debian-11/Dockerfile)'
- '[`2`, `2-debian-11`, `2.7.2`, `2.7.2-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/airflow/2/debian-11/Dockerfile)'
search_tags:
- 2.7.3-debian-11-r
- 2.7.2-debian-11-r
airflow-scheduler:
docker_links:
- '[`2`, `2-debian-11`, `2.7.3`, `2.7.3-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/airflow-scheduler/2/debian-11/Dockerfile)'
- '[`2`, `2-debian-11`, `2.7.2`, `2.7.2-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/airflow-scheduler/2/debian-11/Dockerfile)'
search_tags:
- 2.7.3-debian-11-r
- 2.7.2-debian-11-r
airflow-worker:
docker_links:
- '[`2`, `2-debian-11`, `2.7.3`, `2.7.3-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/airflow-worker/2/debian-11/Dockerfile)'
- '[`2`, `2-debian-11`, `2.7.2`, `2.7.2-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/airflow-worker/2/debian-11/Dockerfile)'
search_tags:
- 2.7.3-debian-11-r
- 2.7.2-debian-11-r
apache:
docker_links:
- '[`2.4`, `2.4-debian-11`, `2.4.58`, `2.4.58-debian-11-r` (2.4/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/apache/2.4/debian-11/Dockerfile)'
search_tags:
- 2.4.58-debian-11-r
consul:
docker_links:
- '[`1`, `1-debian-11`, `1.17.0`, `1.17.0-debian-11-r` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/consul/1/debian-11/Dockerfile)'
- '[`1`, `1-debian-11`, `1.16.2`, `1.16.2-debian-11-r` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/consul/1/debian-11/Dockerfile)'
search_tags:
- 1.17.0-debian-11-r
- 1.16.2-debian-11-r
couchdb:
docker_links:
- '[`3`, `3-debian-11`, `3.3.3`, `3.3.3-debian-11-r` (3/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/couchdb/3/debian-11/Dockerfile)'
Expand All @@ -37,12 +37,10 @@ elasticsearch:
- 7.17.16-debian-11-r
envoy:
docker_links:
- '[`1.28`, `1.28-debian-11`, `1.28.0`, `1.28.0-debian-11-r` (1.28/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/envoy/1.28/debian-11/Dockerfile)'
- '[`1.27`, `1.27-debian-11`, `1.27.2`, `1.27.2-debian-11-r` (1.27/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/envoy/1.27/debian-11/Dockerfile)'
- '[`1.26`, `1.26-debian-11`, `1.26.6`, `1.26.6-debian-11-r` (1.26/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/envoy/1.26/debian-11/Dockerfile)'
- '[`1.25`, `1.25-debian-11`, `1.25.11`, `1.25.11-debian-11-r` (1.25/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/envoy/1.25/debian-11/Dockerfile)'
search_tags:
- 1.28.0-debian-11-r
- 1.27.2-debian-11-r
- 1.26.6-debian-11-r
- 1.25.11-debian-11-r
Expand Down Expand Up @@ -75,26 +73,26 @@ haproxy:
- 2.9.0-debian-11-r
influxdb:
docker_links:
- '[`2`, `2-debian-11`, `2.7.4`, `2.7.4-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/influxdb/2/debian-11/Dockerfile)'
- '[`2`, `2-debian-11`, `2.7.3`, `2.7.3-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/influxdb/2/debian-11/Dockerfile)'
search_tags:
- 2.7.4-debian-11-r
- 2.7.3-debian-11-r
mariadb:
docker_links:
- '[`11.1`, `11.1-debian-11`, `11.1.3`, `11.1.3-debian-11-r` (11.1/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/11.1/debian-11/Dockerfile)'
- '[`11.0`, `11.0-debian-11`, `11.0.4`, `11.0.4-debian-11-r` (11.0/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/11.0/debian-11/Dockerfile)'
- '[`10.11`, `10.11-debian-11`, `10.11.6`, `10.11.6-debian-11-r` (10.11/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.11/debian-11/Dockerfile)'
- '[`10.10`, `10.10-debian-11`, `10.10.7`, `10.10.7-debian-11-r` (10.10/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.10/debian-11/Dockerfile)'
- '[`10.6`, `10.6-debian-11`, `10.6.16`, `10.6.16-debian-11-r` (10.6/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.6/debian-11/Dockerfile)'
- '[`10.5`, `10.5-debian-11`, `10.5.23`, `10.5.23-debian-11-r` (10.5/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.5/debian-11/Dockerfile)'
- '[`10.4`, `10.4-debian-11`, `10.4.32`, `10.4.32-debian-11-r` (10.4/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.4/debian-11/Dockerfile)'
search_tags:
- 11.1.3-debian-11-r
- 11.0.4-debian-11-r
- 10.11.6-debian-11-r
- 10.10.7-debian-11-r
- 10.6.16-debian-11-r
- 10.5.23-debian-11-r
- 10.4.32-debian-11-r
- '[`11.1`, `11.1-debian-11`, `11.1.2`, `11.1.2-debian-11-r` (11.1/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/11.1/debian-11/Dockerfile)'
- '[`11.0`, `11.0-debian-11`, `11.0.3`, `11.0.3-debian-11-r` (11.0/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/11.0/debian-11/Dockerfile)'
- '[`10.11`, `10.11-debian-11`, `10.11.5`, `10.11.5-debian-11-r` (10.11/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.11/debian-11/Dockerfile)'
- '[`10.10`, `10.10-debian-11`, `10.10.6`, `10.10.6-debian-11-r` (10.10/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.10/debian-11/Dockerfile)'
- '[`10.6`, `10.6-debian-11`, `10.6.15`, `10.6.15-debian-11-r` (10.6/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.6/debian-11/Dockerfile)'
- '[`10.5`, `10.5-debian-11`, `10.5.22`, `10.5.22-debian-11-r` (10.5/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.5/debian-11/Dockerfile)'
- '[`10.4`, `10.4-debian-11`, `10.4.31`, `10.4.31-debian-11-r` (10.4/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/mariadb/10.4/debian-11/Dockerfile)'
search_tags:
- 11.1.2-debian-11-r
- 11.0.3-debian-11-r
- 10.11.5-debian-11-r
- 10.10.6-debian-11-r
- 10.6.15-debian-11-r
- 10.5.22-debian-11-r
- 10.4.31-debian-11-r
memcached:
docker_links:
- '[`1`, `1-debian-11`, `1.6.22`, `1.6.22-debian-11-r` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/memcached/1/debian-11/Dockerfile)'
Expand Down Expand Up @@ -130,17 +128,19 @@ nginx:
- 1.24.0-debian-11-r
postgresql:
docker_links:
- '[`16`, `16-debian-11`, `16.1.0`, `16.1.0-debian-11-r` (16/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/16/debian-11/Dockerfile)'
- '[`15`, `15-debian-11`, `15.5.0`, `15.5.0-debian-11-r` (15/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/15/debian-11/Dockerfile)'
- '[`14`, `14-debian-11`, `14.10.0`, `14.10.0-debian-11-r` (14/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/14/debian-11/Dockerfile)'
- '[`13`, `13-debian-11`, `13.13.0`, `13.13.0-debian-11-r` (13/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/13/debian-11/Dockerfile)'
- '[`12`, `12-debian-11`, `12.17.0`, `12.17.0-debian-11-r` (12/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/12/debian-11/Dockerfile)'
search_tags:
- 16.1.0-debian-11-r
- 15.5.0-debian-11-r
- 14.10.0-debian-11-r
- 13.13.0-debian-11-r
- 12.17.0-debian-11-r
- '[`16`, `16-debian-11`, `16.0.0`, `16.0.0-debian-11-r` (16/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/16/debian-11/Dockerfile)'
- '[`15`, `15-debian-11`, `15.4.0`, `15.4.0-debian-11-r` (15/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/15/debian-11/Dockerfile)'
- '[`14`, `14-debian-11`, `14.9.0`, `14.9.0-debian-11-r` (14/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/14/debian-11/Dockerfile)'
- '[`13`, `13-debian-11`, `13.12.0`, `13.12.0-debian-11-r` (13/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/13/debian-11/Dockerfile)'
- '[`12`, `12-debian-11`, `12.16.0`, `12.16.0-debian-11-r` (12/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/12/debian-11/Dockerfile)'
- '[`11`, `11-debian-11`, `11.21.0`, `11.21.0-debian-11-r` (11/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/postgresql/11/debian-11/Dockerfile)'
search_tags:
- 16.0.0-debian-11-r
- 15.4.0-debian-11-r
- 14.9.0-debian-11-r
- 13.12.0-debian-11-r
- 12.16.0-debian-11-r
- 11.21.0-debian-11-r
prometheus:
docker_links:
- '[`2`, `2-debian-11`, `2.48.1`, `2.48.1-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/prometheus/2/debian-11/Dockerfile)'
Expand All @@ -157,19 +157,19 @@ rabbitmq:
- 3.10.25-debian-11-r
redis:
docker_links:
- '[`7.2`, `7.2-debian-11`, `7.2.3`, `7.2.3-debian-11-r` (7.2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/redis/7.2/debian-11/Dockerfile)'
- '[`7.2`, `7.2-debian-11`, `7.2.2`, `7.2.2-debian-11-r` (7.2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/redis/7.2/debian-11/Dockerfile)'
- '[`7.0`, `7.0-debian-11`, `7.0.14`, `7.0.14-debian-11-r` (7.0/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/redis/7.0/debian-11/Dockerfile)'
- '[`6.2`, `6.2-debian-11`, `6.2.14`, `6.2.14-debian-11-r` (6.2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/redis/6.2/debian-11/Dockerfile)'
search_tags:
- 7.2.3-debian-11-r
- 7.2.2-debian-11-r
- 7.0.14-debian-11-r
- 6.2.14-debian-11-r
redis-cluster:
docker_links:
- '[`7.2`, `7.2-debian-11`, `7.2.3`, `7.2.3-debian-11-r` (7.2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/redis-cluster/7.2/debian-11/Dockerfile)'
- '[`7.2`, `7.2-debian-11`, `7.2.2`, `7.2.2-debian-11-r` (7.2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/redis-cluster/7.2/debian-11/Dockerfile)'
- '[`7.0`, `7.0-debian-11`, `7.0.14`, `7.0.14-debian-11-r` (7.0/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/redis-cluster/7.0/debian-11/Dockerfile)'
search_tags:
- 7.2.3-debian-11-r
- 7.2.2-debian-11-r
- 7.0.14-debian-11-r
telegraf:
docker_links:
Expand Down
2 changes: 2 additions & 0 deletions community_images/nats/bitnami/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ RapidFort’s hardened [rapidfort/nats][rf-dh-image-link] image has been optimiz
We are making secure copies of the images we use every day and the most popular ones on Docker Hub. We want to make the world a safer place to operate.

## Supported tags and respective `Dockerfile` links
* [`2`, `2-debian-11`, `2.10.4`, `2.10.4-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/nats/2/debian-11/Dockerfile)
* [`2`, `2-debian-11`, `2.10.5`, `2.10.5-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/nats/2/debian-11/Dockerfile)
* [`2`, `2-debian-11`, `2.10.7`, `2.10.7-debian-11-r` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/tree/main/bitnami/nats/2/debian-11/Dockerfile)

## Need support
Expand Down
7 changes: 7 additions & 0 deletions community_images/nats/bitnami/coverage.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ function test_nats() {
local NAMESPACE=$1
local HELM_RELEASE=$2

NATS_SERVER=${HELM_RELEASE}.${NAMESPACE}.svc.cluster.local

NATS_USER=$(kubectl get secret --namespace "${NAMESPACE}" "${HELM_RELEASE}" -o jsonpath='{.data.*}' | base64 -d | grep -m 1 user | awk '{print $2}' | tr -d '"')
NATS_PASS=$(kubectl get secret --namespace "${NAMESPACE}" "${HELM_RELEASE}" -o jsonpath='{.data.*}' | base64 -d | grep -m 1 password | awk '{print $2}' | tr -d '"')
echo -e "Client credentials:\n\tUser: $NATS_USER\n\tPassword: $NATS_PASS"
Expand All @@ -19,7 +21,12 @@ function test_nats() {
# wait for nats client to come up
kubectl wait pods nats-release-client -n "${NAMESPACE}" --for=condition=ready --timeout=10m
echo "#!/bin/bash
set -e
set -x
GO111MODULE=off go get github.com/nats-io/nats.go
go env -w GOPROXY=http://${NATS_SERVER}:8222,direct
go install golang.org/x/crypto/blake2b@v0.14.0
go mod tidy
cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-pub && go install && cd || exit
cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-echo && go install && cd || exit
nats-echo -s nats://$NATS_USER:$NATS_PASS@${HELM_RELEASE}.${NAMESPACE}.svc.cluster.local:4222 SomeSubject &
Expand Down
2 changes: 1 addition & 1 deletion community_images/nats/bitnami/dc_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ JSON_PARAMS="$1"

JSON=$(cat "$JSON_PARAMS")

echo "Json params for docker compose coverage = $JSON"
echo "Json params for docker compose coverage = $JSON"
2 changes: 1 addition & 1 deletion community_images/nats/bitnami/docker-compose.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ services:
ports:
- '4222:4222'
- '6222:6222'
- '8222:8222'
- '8222:8222'
10 changes: 0 additions & 10 deletions community_images/nats/bitnami/docker_coverage.sh

This file was deleted.

4 changes: 1 addition & 3 deletions community_images/nats/bitnami/image.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,4 @@ runtimes:
image_keys:
nats:
repository: "NATS_IMAGE_REPOSITORY"
tag: "NATS_IMAGE_TAG"
- type: docker
script: docker_coverage.sh
tag: "NATS_IMAGE_TAG"
Empty file modified community_images/nats/bitnami/overrides.yml
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions community_images/nats/ironbank/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ function test_nats() {
set -x
set -e
GO111MODULE=off go get github.com/nats-io/nats.go
go env -w GOPROXY=http://${NATS_SERVER}:8222,direct
go install golang.org/x/crypto/blake2b@v0.14.0
go mod tidy
cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-pub && go install && cd || exit
cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-echo && go install && cd || exit
nats-echo -s nats://$NATS_USER:$NATS_PASS@${NATS_SERVER}:4222 SomeSubject &
Expand Down
3 changes: 3 additions & 0 deletions community_images/nats/official/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ function test_nats() {
kubectl wait pods nats-release-client -n "${NAMESPACE}" --for=condition=ready --timeout=10m
echo "#!/bin/bash
GO111MODULE=off go get github.com/nats-io/nats.go
go env -w GOPROXY=http://${NATS_SERVER}:8222,direct
go install golang.org/x/crypto/blake2b@v0.14.0
go mod tidy
cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-pub && go install && cd || exit
cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-echo && go install && cd || exit
nats-echo -s nats://$NATS_USER:$NATS_PASS@${HELM_RELEASE}.${NAMESPACE}.svc.cluster.local:4222 SomeSubject &
Expand Down
2 changes: 1 addition & 1 deletion community_images/nginx/bitnami/k8s_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ curl "${URL}"
MINIKUBE_IP=$(minikube ip)

# curl to https url
curl http://"${MINIKUBE_IP}" -k
curl https://"${MINIKUBE_IP}" -k
Loading