From 0e1b93316738baf2ef5c0753d3a83f2036a6dcd1 Mon Sep 17 00:00:00 2001 From: TrueCharts-Bot Date: Mon, 25 Apr 2022 11:32:08 +0000 Subject: [PATCH] Commit new App releases for TrueCharts Signed-off-by: TrueCharts-Bot --- .../mongodb/{0.1.5 => 0.1.6}/CHANGELOG.md | 18 +++++++++--------- dependency/mongodb/{0.1.5 => 0.1.6}/CONFIG.md | 0 .../mongodb/{0.1.5 => 0.1.6}/Chart.lock | 2 +- .../mongodb/{0.1.5 => 0.1.6}/Chart.yaml | 2 +- dependency/mongodb/{0.1.5 => 0.1.6}/README.md | 0 .../mongodb/{0.1.5 => 0.1.6}/app-readme.md | 0 .../{0.1.5 => 0.1.6}/charts/common-9.3.1.tgz | Bin .../mongodb/{0.1.5 => 0.1.6}/helm-values.md | 0 .../mongodb/{0.1.5 => 0.1.6}/ix_values.yaml | 16 ++++++++++------ .../mongodb/{0.1.5 => 0.1.6}/questions.yaml | 0 .../mongodb/{0.1.5 => 0.1.6}/security.md | 0 .../{0.1.5 => 0.1.6}/templates/common.yaml | 0 .../templates/create-oplog-user.yaml | 1 + .../{0.1.5 => 0.1.6}/templates/secret.yaml | 0 .../mongodb/{0.1.5 => 0.1.6}/values.yaml | 0 15 files changed, 22 insertions(+), 17 deletions(-) rename dependency/mongodb/{0.1.5 => 0.1.6}/CHANGELOG.md (90%) rename dependency/mongodb/{0.1.5 => 0.1.6}/CONFIG.md (100%) rename dependency/mongodb/{0.1.5 => 0.1.6}/Chart.lock (80%) rename dependency/mongodb/{0.1.5 => 0.1.6}/Chart.yaml (98%) rename dependency/mongodb/{0.1.5 => 0.1.6}/README.md (100%) rename dependency/mongodb/{0.1.5 => 0.1.6}/app-readme.md (100%) rename dependency/mongodb/{0.1.5 => 0.1.6}/charts/common-9.3.1.tgz (100%) rename dependency/mongodb/{0.1.5 => 0.1.6}/helm-values.md (100%) rename dependency/mongodb/{0.1.5 => 0.1.6}/ix_values.yaml (84%) rename dependency/mongodb/{0.1.5 => 0.1.6}/questions.yaml (100%) rename dependency/mongodb/{0.1.5 => 0.1.6}/security.md (100%) rename dependency/mongodb/{0.1.5 => 0.1.6}/templates/common.yaml (100%) rename dependency/mongodb/{0.1.5 => 0.1.6}/templates/create-oplog-user.yaml (93%) rename dependency/mongodb/{0.1.5 => 0.1.6}/templates/secret.yaml (100%) rename dependency/mongodb/{0.1.5 => 0.1.6}/values.yaml (100%) diff --git a/dependency/mongodb/0.1.5/CHANGELOG.md b/dependency/mongodb/0.1.6/CHANGELOG.md similarity index 90% rename from dependency/mongodb/0.1.5/CHANGELOG.md rename to dependency/mongodb/0.1.6/CHANGELOG.md index 481217fa251..c37419e05f9 100644 --- a/dependency/mongodb/0.1.5/CHANGELOG.md +++ b/dependency/mongodb/0.1.6/CHANGELOG.md @@ -1,6 +1,15 @@ # Changelog
+ +### [mongodb-0.1.6](https://github.com/truecharts/apps/compare/mongodb-0.1.5...mongodb-0.1.6) (2022-04-25) + +#### Fix + +* set advertised hostname ([#2560](https://github.com/truecharts/apps/issues/2560)) + + + ### [mongodb-0.1.5](https://github.com/truecharts/apps/compare/mongodb-0.1.4...mongodb-0.1.5) (2022-04-24) @@ -88,12 +97,3 @@ #### Chore -* update docker general non-major ([#2497](https://github.com/truecharts/apps/issues/2497)) - - - - -### [mongodb-0.0.27](https://github.com/truecharts/apps/compare/mongodb-0.0.26...mongodb-0.0.27) (2022-04-16) - -#### Chore - diff --git a/dependency/mongodb/0.1.5/CONFIG.md b/dependency/mongodb/0.1.6/CONFIG.md similarity index 100% rename from dependency/mongodb/0.1.5/CONFIG.md rename to dependency/mongodb/0.1.6/CONFIG.md diff --git a/dependency/mongodb/0.1.5/Chart.lock b/dependency/mongodb/0.1.6/Chart.lock similarity index 80% rename from dependency/mongodb/0.1.5/Chart.lock rename to dependency/mongodb/0.1.6/Chart.lock index ec147617f29..368f0c4e2dd 100644 --- a/dependency/mongodb/0.1.5/Chart.lock +++ b/dependency/mongodb/0.1.6/Chart.lock @@ -3,4 +3,4 @@ dependencies: repository: https://library-charts.truecharts.org version: 9.3.1 digest: sha256:ac4b624a60adbe5e11e1e743c3c3075a577bc8d615f0217efc9d73c88951ee96 -generated: "2022-04-24T22:01:34.82527369Z" +generated: "2022-04-25T11:25:44.620068754Z" diff --git a/dependency/mongodb/0.1.5/Chart.yaml b/dependency/mongodb/0.1.6/Chart.yaml similarity index 98% rename from dependency/mongodb/0.1.5/Chart.yaml rename to dependency/mongodb/0.1.6/Chart.yaml index 9a74729161d..7c563e26247 100644 --- a/dependency/mongodb/0.1.5/Chart.yaml +++ b/dependency/mongodb/0.1.6/Chart.yaml @@ -23,7 +23,7 @@ sources: - https://github.com/bitnami/bitnami-docker-mongodb - https://www.mongodb.com type: application -version: 0.1.5 +version: 0.1.6 annotations: truecharts.org/catagories: | - database diff --git a/dependency/mongodb/0.1.5/README.md b/dependency/mongodb/0.1.6/README.md similarity index 100% rename from dependency/mongodb/0.1.5/README.md rename to dependency/mongodb/0.1.6/README.md diff --git a/dependency/mongodb/0.1.5/app-readme.md b/dependency/mongodb/0.1.6/app-readme.md similarity index 100% rename from dependency/mongodb/0.1.5/app-readme.md rename to dependency/mongodb/0.1.6/app-readme.md diff --git a/dependency/mongodb/0.1.5/charts/common-9.3.1.tgz b/dependency/mongodb/0.1.6/charts/common-9.3.1.tgz similarity index 100% rename from dependency/mongodb/0.1.5/charts/common-9.3.1.tgz rename to dependency/mongodb/0.1.6/charts/common-9.3.1.tgz diff --git a/dependency/mongodb/0.1.5/helm-values.md b/dependency/mongodb/0.1.6/helm-values.md similarity index 100% rename from dependency/mongodb/0.1.5/helm-values.md rename to dependency/mongodb/0.1.6/helm-values.md diff --git a/dependency/mongodb/0.1.5/ix_values.yaml b/dependency/mongodb/0.1.6/ix_values.yaml similarity index 84% rename from dependency/mongodb/0.1.5/ix_values.yaml rename to dependency/mongodb/0.1.6/ix_values.yaml index af9b34c235f..cb5b0fbaa62 100644 --- a/dependency/mongodb/0.1.5/ix_values.yaml +++ b/dependency/mongodb/0.1.6/ix_values.yaml @@ -26,6 +26,7 @@ controller: service: main: + publishNotReadyAddresses: true ports: main: port: 27017 @@ -61,7 +62,7 @@ probes: command: - /bin/bash - -ec - - echo "db.runCommand(\"ping\")" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet + - echo "rs.status().ok" | mongo --host "${MONGODB_ADVERTISED_HOSTNAME}" -u root -p ${MONGODB_ROOT_PASSWORD} --port 27017 --quiet # -- Redainess probe configuration # @default -- See below @@ -78,7 +79,8 @@ probes: command: - /bin/bash - -ec - - echo "db.runCommand(\"ping\")" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet + - echo "rs.status().ok" | mongo --host "${MONGODB_ADVERTISED_HOSTNAME}" -u root -p ${MONGODB_ROOT_PASSWORD} --port 27017 --quiet + # -- Startup probe configuration # @default -- See below startup: @@ -93,7 +95,7 @@ probes: command: - /bin/bash - -ec - - echo "db.runCommand(\"ping\")" | mongo --host localhost --port 27017 ${MONGODB_DATABASE} --quiet + - echo "rs.status().ok" | mongo --host "${MONGODB_ADVERTISED_HOSTNAME}" -u root -p ${MONGODB_ROOT_PASSWORD} --port 27017 --quiet mongodbPassword: "testpass" mongodbUsername: "test" @@ -102,7 +104,6 @@ mongodbRootPassword: "testroot" mongodbReplicasetMode: "primary" mongodbReplicasetName: "rs0" mongodbReplicasetKey: "testreplicasetkey" -mongodbAdvertisedHostname: "localhost" existingSecret: "" envValueFrom: @@ -124,5 +125,8 @@ env: MONGODB_DATABASE: "{{ .Values.mongodbDatabase }}" MONGODB_REPLICA_SET_MODE: "{{ .Values.mongodbReplicasetMode }}" MONGODB_REPLICA_SET_NAME: "{{ .Values.mongodbReplicasetName }}" - MONGODB_ADVERTISED_HOSTNAME: "{{ .Values.mongodbAdvertisedHostname }}" - MONGODB_ADVERTISED_PORT_NUMBER: "27017" + MONGODB_ADVERTISED_HOSTNAME: "{{ .Release.Name }}" + MONGODB_ADVERTISED_PORT_NUMBER: 27017 + MONGODB_INITIAL_PRIMARY_HOST: "{{ .Release.Name }}" + MONGODB_INITIAL_PRIMARY_PORT_NUMBER: 27017 + MONGODB_ENABLE_JOURNAL: true diff --git a/dependency/mongodb/0.1.5/questions.yaml b/dependency/mongodb/0.1.6/questions.yaml similarity index 100% rename from dependency/mongodb/0.1.5/questions.yaml rename to dependency/mongodb/0.1.6/questions.yaml diff --git a/dependency/mongodb/0.1.5/security.md b/dependency/mongodb/0.1.6/security.md similarity index 100% rename from dependency/mongodb/0.1.5/security.md rename to dependency/mongodb/0.1.6/security.md diff --git a/dependency/mongodb/0.1.5/templates/common.yaml b/dependency/mongodb/0.1.6/templates/common.yaml similarity index 100% rename from dependency/mongodb/0.1.5/templates/common.yaml rename to dependency/mongodb/0.1.6/templates/common.yaml diff --git a/dependency/mongodb/0.1.5/templates/create-oplog-user.yaml b/dependency/mongodb/0.1.6/templates/create-oplog-user.yaml similarity index 93% rename from dependency/mongodb/0.1.5/templates/create-oplog-user.yaml rename to dependency/mongodb/0.1.6/templates/create-oplog-user.yaml index 5b229416ce6..e3c8823703b 100644 --- a/dependency/mongodb/0.1.5/templates/create-oplog-user.yaml +++ b/dependency/mongodb/0.1.6/templates/create-oplog-user.yaml @@ -15,6 +15,7 @@ data: # '.script' extension is just to avoid the bitnami init script to executing it. (bitnami executes .sh and .js files automatically) echo 'use '$MONGODB_DATABASE > /docker-entrypoint-initdb.d/createOpLogUser.script; echo 'db.createUser({user: "'$MONGODB_USERNAME'-oplog", pwd: "'$MONGODB_PASSWORD'", roles: [ { role: "read", db: "local" } ]})' >> /docker-entrypoint-initdb.d/createOpLogUser.script; + echo 'hostname()' >> /docker-entrypoint-initdb.d/createOpLogUser.script; echo "Command Generated!"; echo "Creating the user..."; diff --git a/dependency/mongodb/0.1.5/templates/secret.yaml b/dependency/mongodb/0.1.6/templates/secret.yaml similarity index 100% rename from dependency/mongodb/0.1.5/templates/secret.yaml rename to dependency/mongodb/0.1.6/templates/secret.yaml diff --git a/dependency/mongodb/0.1.5/values.yaml b/dependency/mongodb/0.1.6/values.yaml similarity index 100% rename from dependency/mongodb/0.1.5/values.yaml rename to dependency/mongodb/0.1.6/values.yaml