From 3b16a0f99766b5b239e62b08806c52f0053bb90b Mon Sep 17 00:00:00 2001 From: Arnob kumar saha Date: Fri, 8 Dec 2023 19:51:56 +0600 Subject: [PATCH] deprecate all older official versions for mongodb Signed-off-by: Arnob kumar saha --- catalog/kubedb/active_versions.json | 9 ++- catalog/kubedb/backup_tasks.json | 9 ++- ...=> deprecated-mongodb-4.2.3-official.yaml} | 45 +++++++-------- ...=> deprecated-mongodb-4.4.6-official.yaml} | 1 + ...> deprecated-mongodb-5.0.15-official.yaml} | 1 + ...=> deprecated-mongodb-6.0.5-official.yaml} | 1 + .../raw/mongodb/mongodb-4.4.25-official.yaml | 42 ++++++++++++++ .../raw/mongodb/mongodb-5.0.23-official.yaml | 39 +++++++++++++ .../raw/mongodb/mongodb-6.0.12-official.yaml | 39 +++++++++++++ catalog/kubedb/restore_tasks.json | 9 ++- ...=> deprecated-mongodb-4.2.3-official.yaml} | 55 ++++++++++--------- .../deprecated-mongodb-4.4.6-official.yaml | 47 ++++++++++++++++ .../deprecated-mongodb-5.0.15-official.yaml | 44 +++++++++++++++ .../deprecated-mongodb-6.0.5-official.yaml | 44 +++++++++++++++ ...cial.yaml => mongodb-4.4.25-official.yaml} | 6 +- ...cial.yaml => mongodb-5.0.23-official.yaml} | 6 +- ...cial.yaml => mongodb-6.0.12-official.yaml} | 6 +- 17 files changed, 330 insertions(+), 73 deletions(-) rename catalog/kubedb/raw/mongodb/{mongodb-4.2.3-official.yaml => deprecated-mongodb-4.2.3-official.yaml} (98%) rename catalog/kubedb/raw/mongodb/{mongodb-4.4.6-official.yaml => deprecated-mongodb-4.4.6-official.yaml} (98%) rename catalog/kubedb/raw/mongodb/{mongodb-5.0.15-official.yaml => deprecated-mongodb-5.0.15-official.yaml} (98%) rename catalog/kubedb/raw/mongodb/{mongodb-6.0.5-official.yaml => deprecated-mongodb-6.0.5-official.yaml} (98%) create mode 100644 catalog/kubedb/raw/mongodb/mongodb-4.4.25-official.yaml create mode 100644 catalog/kubedb/raw/mongodb/mongodb-5.0.23-official.yaml create mode 100644 catalog/kubedb/raw/mongodb/mongodb-6.0.12-official.yaml rename charts/kubedb-catalog/templates/mongodb/{mongodb-4.2.3-official.yaml => deprecated-mongodb-4.2.3-official.yaml} (96%) create mode 100644 charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-4.4.6-official.yaml create mode 100644 charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-5.0.15-official.yaml create mode 100644 charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-6.0.5-official.yaml rename charts/kubedb-catalog/templates/mongodb/{mongodb-4.4.6-official.yaml => mongodb-4.4.25-official.yaml} (95%) rename charts/kubedb-catalog/templates/mongodb/{mongodb-5.0.15-official.yaml => mongodb-5.0.23-official.yaml} (95%) rename charts/kubedb-catalog/templates/mongodb/{mongodb-6.0.5-official.yaml => mongodb-6.0.12-official.yaml} (95%) diff --git a/catalog/kubedb/active_versions.json b/catalog/kubedb/active_versions.json index fa5487f0c..d091b0bce 100644 --- a/catalog/kubedb/active_versions.json +++ b/catalog/kubedb/active_versions.json @@ -103,13 +103,12 @@ "1.5.4-v1" ], "MongoDB": [ - "6.0.5", - "5.0.15", + "6.0.12", + "5.0.23", + "4.4.25", "percona-4.4.10", - "4.4.6", "4.2.24", - "percona-4.2.7", - "4.2.3" + "percona-4.2.7" ], "MySQL": [ "8.1.0", diff --git a/catalog/kubedb/backup_tasks.json b/catalog/kubedb/backup_tasks.json index 9359ecb84..945c4b83f 100644 --- a/catalog/kubedb/backup_tasks.json +++ b/catalog/kubedb/backup_tasks.json @@ -102,18 +102,17 @@ ], "mongodb-backup-4.2.3": [ "percona-4.2.7", - "4.2.24", - "4.2.3" + "4.2.24" ], "mongodb-backup-4.4.6": [ "percona-4.4.10", - "4.4.6" + "4.4.25" ], "mongodb-backup-5.0.15": [ - "5.0.15" + "5.0.23" ], "mongodb-backup-6.0.5": [ - "6.0.5" + "6.0.12" ], "mysql-backup-5.7.25": [ "5.7.41" diff --git a/catalog/kubedb/raw/mongodb/mongodb-4.2.3-official.yaml b/catalog/kubedb/raw/mongodb/deprecated-mongodb-4.2.3-official.yaml similarity index 98% rename from catalog/kubedb/raw/mongodb/mongodb-4.2.3-official.yaml rename to catalog/kubedb/raw/mongodb/deprecated-mongodb-4.2.3-official.yaml index f465db62f..9f2a57e95 100644 --- a/catalog/kubedb/raw/mongodb/mongodb-4.2.3-official.yaml +++ b/catalog/kubedb/raw/mongodb/deprecated-mongodb-4.2.3-official.yaml @@ -1,5 +1,27 @@ apiVersion: catalog.kubedb.com/v1alpha1 kind: MongoDBVersion +metadata: + name: "4.2" +spec: + db: + image: ghcr.io/kubedb/mongo:4.2 + deprecated: true + distribution: Official + exporter: + image: ghcr.io/kubedb/mongodb_exporter:v0.20.4 + gitSyncer: + image: registry.k8s.io/git-sync/git-sync:v4.1.0 + initContainer: + image: ghcr.io/kubedb/mongodb-init:0.3.0 + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: ghcr.io/kubedb/replication-mode-detector:v0.25.0-rc.1 + version: 4.2.3 + +--- +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MongoDBVersion metadata: name: 4.2.3 spec: @@ -17,6 +39,7 @@ spec: image: ghcr.io/kubedb/wal-g:v2023.11.30_mongo db: image: ghcr.io/appscode-images/mongo:4.2.3 + deprecated: true distribution: Official exporter: image: ghcr.io/kubedb/mongodb_exporter:v0.32.0 @@ -40,25 +63,3 @@ spec: allowlist: - '>= 4.4.0, < 5.0.0' version: 4.2.3 - ---- -apiVersion: catalog.kubedb.com/v1alpha1 -kind: MongoDBVersion -metadata: - name: "4.2" -spec: - db: - image: ghcr.io/kubedb/mongo:4.2 - deprecated: true - distribution: Official - exporter: - image: ghcr.io/kubedb/mongodb_exporter:v0.20.4 - gitSyncer: - image: registry.k8s.io/git-sync/git-sync:v4.1.0 - initContainer: - image: ghcr.io/kubedb/mongodb-init:0.3.0 - podSecurityPolicies: - databasePolicyName: mongodb-db - replicationModeDetector: - image: ghcr.io/kubedb/replication-mode-detector:v0.25.0-rc.1 - version: 4.2.3 diff --git a/catalog/kubedb/raw/mongodb/mongodb-4.4.6-official.yaml b/catalog/kubedb/raw/mongodb/deprecated-mongodb-4.4.6-official.yaml similarity index 98% rename from catalog/kubedb/raw/mongodb/mongodb-4.4.6-official.yaml rename to catalog/kubedb/raw/mongodb/deprecated-mongodb-4.4.6-official.yaml index 0e43c6674..7352099cc 100644 --- a/catalog/kubedb/raw/mongodb/mongodb-4.4.6-official.yaml +++ b/catalog/kubedb/raw/mongodb/deprecated-mongodb-4.4.6-official.yaml @@ -17,6 +17,7 @@ spec: image: ghcr.io/kubedb/wal-g:v2023.11.30_mongo db: image: ghcr.io/appscode-images/mongo:4.4.6 + deprecated: true distribution: Official exporter: image: ghcr.io/kubedb/mongodb_exporter:v0.32.0 diff --git a/catalog/kubedb/raw/mongodb/mongodb-5.0.15-official.yaml b/catalog/kubedb/raw/mongodb/deprecated-mongodb-5.0.15-official.yaml similarity index 98% rename from catalog/kubedb/raw/mongodb/mongodb-5.0.15-official.yaml rename to catalog/kubedb/raw/mongodb/deprecated-mongodb-5.0.15-official.yaml index 0d9a0fab4..ce75a3f95 100644 --- a/catalog/kubedb/raw/mongodb/mongodb-5.0.15-official.yaml +++ b/catalog/kubedb/raw/mongodb/deprecated-mongodb-5.0.15-official.yaml @@ -17,6 +17,7 @@ spec: image: ghcr.io/kubedb/wal-g:v2023.11.30_mongo db: image: ghcr.io/appscode-images/mongo:5.0.15 + deprecated: true distribution: Official exporter: image: ghcr.io/kubedb/mongodb_exporter:v0.32.0 diff --git a/catalog/kubedb/raw/mongodb/mongodb-6.0.5-official.yaml b/catalog/kubedb/raw/mongodb/deprecated-mongodb-6.0.5-official.yaml similarity index 98% rename from catalog/kubedb/raw/mongodb/mongodb-6.0.5-official.yaml rename to catalog/kubedb/raw/mongodb/deprecated-mongodb-6.0.5-official.yaml index 945785f83..1a00fb051 100644 --- a/catalog/kubedb/raw/mongodb/mongodb-6.0.5-official.yaml +++ b/catalog/kubedb/raw/mongodb/deprecated-mongodb-6.0.5-official.yaml @@ -17,6 +17,7 @@ spec: image: ghcr.io/kubedb/wal-g:v2023.11.30_mongo db: image: ghcr.io/appscode-images/mongo:6.0.5 + deprecated: true distribution: Official exporter: image: ghcr.io/kubedb/mongodb_exporter:v0.32.0 diff --git a/catalog/kubedb/raw/mongodb/mongodb-4.4.25-official.yaml b/catalog/kubedb/raw/mongodb/mongodb-4.4.25-official.yaml new file mode 100644 index 000000000..366715e30 --- /dev/null +++ b/catalog/kubedb/raw/mongodb/mongodb-4.4.25-official.yaml @@ -0,0 +1,42 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MongoDBVersion +metadata: + name: 4.4.25 +spec: + archiver: + addon: + name: mongodb-addon + tasks: + manifestBackup: + name: ManifestBackup + manifestRestore: + name: ManifestRestore + volumeSnapshot: + name: VolumeSnapshot + walg: + image: ghcr.io/kubedb/wal-g:v2023.11.30_mongo + db: + image: ghcr.io/appscode-images/mongo:4.4.25 + distribution: Official + exporter: + image: ghcr.io/kubedb/mongodb_exporter:v0.32.0 + gitSyncer: + image: registry.k8s.io/git-sync/git-sync:v4.1.0 + initContainer: + image: ghcr.io/kubedb/mongodb-init:4.2-v9 + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: ghcr.io/kubedb/replication-mode-detector:v0.25.0-rc.1 + securityContext: + runAsUser: 999 + stash: + addon: + backupTask: + name: mongodb-backup-4.4.6 + restoreTask: + name: mongodb-restore-4.4.6 + updateConstraints: + allowlist: + - '>= 5.0.0' + version: 4.4.25 diff --git a/catalog/kubedb/raw/mongodb/mongodb-5.0.23-official.yaml b/catalog/kubedb/raw/mongodb/mongodb-5.0.23-official.yaml new file mode 100644 index 000000000..9073a1156 --- /dev/null +++ b/catalog/kubedb/raw/mongodb/mongodb-5.0.23-official.yaml @@ -0,0 +1,39 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MongoDBVersion +metadata: + name: 5.0.23 +spec: + archiver: + addon: + name: mongodb-addon + tasks: + manifestBackup: + name: ManifestBackup + manifestRestore: + name: ManifestRestore + volumeSnapshot: + name: VolumeSnapshot + walg: + image: ghcr.io/kubedb/wal-g:v2023.11.30_mongo + db: + image: ghcr.io/appscode-images/mongo:5.0.23 + distribution: Official + exporter: + image: ghcr.io/kubedb/mongodb_exporter:v0.32.0 + gitSyncer: + image: registry.k8s.io/git-sync/git-sync:v4.1.0 + initContainer: + image: ghcr.io/kubedb/mongodb-init:4.2-v9 + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: ghcr.io/kubedb/replication-mode-detector:v0.25.0-rc.1 + securityContext: + runAsUser: 999 + stash: + addon: + backupTask: + name: mongodb-backup-5.0.15 + restoreTask: + name: mongodb-restore-5.0.15 + version: 5.0.23 diff --git a/catalog/kubedb/raw/mongodb/mongodb-6.0.12-official.yaml b/catalog/kubedb/raw/mongodb/mongodb-6.0.12-official.yaml new file mode 100644 index 000000000..13d0cb1c6 --- /dev/null +++ b/catalog/kubedb/raw/mongodb/mongodb-6.0.12-official.yaml @@ -0,0 +1,39 @@ +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MongoDBVersion +metadata: + name: 6.0.12 +spec: + archiver: + addon: + name: mongodb-addon + tasks: + manifestBackup: + name: ManifestBackup + manifestRestore: + name: ManifestRestore + volumeSnapshot: + name: VolumeSnapshot + walg: + image: ghcr.io/kubedb/wal-g:v2023.11.30_mongo + db: + image: ghcr.io/appscode-images/mongo:6.0.12 + distribution: Official + exporter: + image: ghcr.io/kubedb/mongodb_exporter:v0.32.0 + gitSyncer: + image: registry.k8s.io/git-sync/git-sync:v4.1.0 + initContainer: + image: ghcr.io/kubedb/mongodb-init:6.0-v9 + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: ghcr.io/kubedb/replication-mode-detector:v0.25.0-rc.1 + securityContext: + runAsUser: 999 + stash: + addon: + backupTask: + name: mongodb-backup-6.0.5 + restoreTask: + name: mongodb-restore-6.0.5 + version: 6.0.12 diff --git a/catalog/kubedb/restore_tasks.json b/catalog/kubedb/restore_tasks.json index ea9d013a4..111df485a 100644 --- a/catalog/kubedb/restore_tasks.json +++ b/catalog/kubedb/restore_tasks.json @@ -102,18 +102,17 @@ ], "mongodb-restore-4.2.3": [ "percona-4.2.7", - "4.2.24", - "4.2.3" + "4.2.24" ], "mongodb-restore-4.4.6": [ "percona-4.4.10", - "4.4.6" + "4.4.25" ], "mongodb-restore-5.0.15": [ - "5.0.15" + "5.0.23" ], "mongodb-restore-6.0.5": [ - "6.0.5" + "6.0.12" ], "mysql-restore-5.7.25": [ "5.7.41" diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-4.2.3-official.yaml b/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-4.2.3-official.yaml similarity index 96% rename from charts/kubedb-catalog/templates/mongodb/mongodb-4.2.3-official.yaml rename to charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-4.2.3-official.yaml index 52ecf7213..03fd80c30 100644 --- a/charts/kubedb-catalog/templates/mongodb/mongodb-4.2.3-official.yaml +++ b/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-4.2.3-official.yaml @@ -1,4 +1,30 @@ -{{ if .Values.catalog.mongodb }} +{{ if and .Values.catalog.mongodb (not .Values.skipDeprecated) }} +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MongoDBVersion +metadata: + name: '4.2' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + db: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongo") $) }}:4.2' + deprecated: true + distribution: Official + exporter: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.20.4' + gitSyncer: + image: '{{ include "image.kubernetes" (merge (dict "_repo" "git-sync/git-sync") $) }}:v4.1.0' + initContainer: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb-init") $) }}:0.3.0' + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/replication-mode-detector") $) }}:v0.25.0-rc.1' + version: 4.2.3 +{{ end }} + +--- +{{ if and .Values.catalog.mongodb (not .Values.skipDeprecated) }} apiVersion: catalog.kubedb.com/v1alpha1 kind: MongoDBVersion metadata: @@ -20,6 +46,7 @@ spec: image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/wal-g") $) }}:v2023.11.30_mongo' db: image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:4.2.3' + deprecated: true distribution: Official exporter: image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.32.0' @@ -44,29 +71,3 @@ spec: - '>= 4.4.0, < 5.0.0' version: 4.2.3 {{ end }} - ---- -{{ if and .Values.catalog.mongodb (not .Values.skipDeprecated) }} -apiVersion: catalog.kubedb.com/v1alpha1 -kind: MongoDBVersion -metadata: - name: '4.2' - labels: - {{- include "kubedb-catalog.labels" . | nindent 4 }} -spec: - db: - image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongo") $) }}:4.2' - deprecated: true - distribution: Official - exporter: - image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.20.4' - gitSyncer: - image: '{{ include "image.kubernetes" (merge (dict "_repo" "git-sync/git-sync") $) }}:v4.1.0' - initContainer: - image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb-init") $) }}:0.3.0' - podSecurityPolicies: - databasePolicyName: mongodb-db - replicationModeDetector: - image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/replication-mode-detector") $) }}:v0.25.0-rc.1' - version: 4.2.3 -{{ end }} diff --git a/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-4.4.6-official.yaml b/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-4.4.6-official.yaml new file mode 100644 index 000000000..bd3d58c6c --- /dev/null +++ b/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-4.4.6-official.yaml @@ -0,0 +1,47 @@ +{{ if and .Values.catalog.mongodb (not .Values.skipDeprecated) }} +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MongoDBVersion +metadata: + name: '4.4.6' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + archiver: + addon: + name: mongodb-addon + tasks: + manifestBackup: + name: ManifestBackup + manifestRestore: + name: ManifestRestore + volumeSnapshot: + name: VolumeSnapshot + walg: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/wal-g") $) }}:v2023.11.30_mongo' + db: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:4.4.6' + deprecated: true + distribution: Official + exporter: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.32.0' + gitSyncer: + image: '{{ include "image.kubernetes" (merge (dict "_repo" "git-sync/git-sync") $) }}:v4.1.0' + initContainer: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb-init") $) }}:4.2-v9' + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/replication-mode-detector") $) }}:v0.25.0-rc.1' + securityContext: + runAsUser: 999 + stash: + addon: + backupTask: + name: mongodb-backup-4.4.6 + restoreTask: + name: mongodb-restore-4.4.6 + updateConstraints: + allowlist: + - '>= 5.0.0' + version: 4.4.6 +{{ end }} diff --git a/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-5.0.15-official.yaml b/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-5.0.15-official.yaml new file mode 100644 index 000000000..f351d3f60 --- /dev/null +++ b/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-5.0.15-official.yaml @@ -0,0 +1,44 @@ +{{ if and .Values.catalog.mongodb (not .Values.skipDeprecated) }} +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MongoDBVersion +metadata: + name: '5.0.15' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + archiver: + addon: + name: mongodb-addon + tasks: + manifestBackup: + name: ManifestBackup + manifestRestore: + name: ManifestRestore + volumeSnapshot: + name: VolumeSnapshot + walg: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/wal-g") $) }}:v2023.11.30_mongo' + db: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:5.0.15' + deprecated: true + distribution: Official + exporter: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.32.0' + gitSyncer: + image: '{{ include "image.kubernetes" (merge (dict "_repo" "git-sync/git-sync") $) }}:v4.1.0' + initContainer: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb-init") $) }}:4.2-v9' + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/replication-mode-detector") $) }}:v0.25.0-rc.1' + securityContext: + runAsUser: 999 + stash: + addon: + backupTask: + name: mongodb-backup-5.0.15 + restoreTask: + name: mongodb-restore-5.0.15 + version: 5.0.15 +{{ end }} diff --git a/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-6.0.5-official.yaml b/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-6.0.5-official.yaml new file mode 100644 index 000000000..a55fd5ea3 --- /dev/null +++ b/charts/kubedb-catalog/templates/mongodb/deprecated-mongodb-6.0.5-official.yaml @@ -0,0 +1,44 @@ +{{ if and .Values.catalog.mongodb (not .Values.skipDeprecated) }} +apiVersion: catalog.kubedb.com/v1alpha1 +kind: MongoDBVersion +metadata: + name: '6.0.5' + labels: + {{- include "kubedb-catalog.labels" . | nindent 4 }} +spec: + archiver: + addon: + name: mongodb-addon + tasks: + manifestBackup: + name: ManifestBackup + manifestRestore: + name: ManifestRestore + volumeSnapshot: + name: VolumeSnapshot + walg: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/wal-g") $) }}:v2023.11.30_mongo' + db: + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:6.0.5' + deprecated: true + distribution: Official + exporter: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.32.0' + gitSyncer: + image: '{{ include "image.kubernetes" (merge (dict "_repo" "git-sync/git-sync") $) }}:v4.1.0' + initContainer: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb-init") $) }}:6.0-v9' + podSecurityPolicies: + databasePolicyName: mongodb-db + replicationModeDetector: + image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/replication-mode-detector") $) }}:v0.25.0-rc.1' + securityContext: + runAsUser: 999 + stash: + addon: + backupTask: + name: mongodb-backup-6.0.5 + restoreTask: + name: mongodb-restore-6.0.5 + version: 6.0.5 +{{ end }} diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-4.4.6-official.yaml b/charts/kubedb-catalog/templates/mongodb/mongodb-4.4.25-official.yaml similarity index 95% rename from charts/kubedb-catalog/templates/mongodb/mongodb-4.4.6-official.yaml rename to charts/kubedb-catalog/templates/mongodb/mongodb-4.4.25-official.yaml index 02a3290cd..7a12f4166 100644 --- a/charts/kubedb-catalog/templates/mongodb/mongodb-4.4.6-official.yaml +++ b/charts/kubedb-catalog/templates/mongodb/mongodb-4.4.25-official.yaml @@ -2,7 +2,7 @@ apiVersion: catalog.kubedb.com/v1alpha1 kind: MongoDBVersion metadata: - name: '4.4.6' + name: '4.4.25' labels: {{- include "kubedb-catalog.labels" . | nindent 4 }} spec: @@ -19,7 +19,7 @@ spec: walg: image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/wal-g") $) }}:v2023.11.30_mongo' db: - image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:4.4.6' + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:4.4.25' distribution: Official exporter: image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.32.0' @@ -42,5 +42,5 @@ spec: updateConstraints: allowlist: - '>= 5.0.0' - version: 4.4.6 + version: 4.4.25 {{ end }} diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-5.0.15-official.yaml b/charts/kubedb-catalog/templates/mongodb/mongodb-5.0.23-official.yaml similarity index 95% rename from charts/kubedb-catalog/templates/mongodb/mongodb-5.0.15-official.yaml rename to charts/kubedb-catalog/templates/mongodb/mongodb-5.0.23-official.yaml index b27f4155f..94947bf69 100644 --- a/charts/kubedb-catalog/templates/mongodb/mongodb-5.0.15-official.yaml +++ b/charts/kubedb-catalog/templates/mongodb/mongodb-5.0.23-official.yaml @@ -2,7 +2,7 @@ apiVersion: catalog.kubedb.com/v1alpha1 kind: MongoDBVersion metadata: - name: '5.0.15' + name: '5.0.23' labels: {{- include "kubedb-catalog.labels" . | nindent 4 }} spec: @@ -19,7 +19,7 @@ spec: walg: image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/wal-g") $) }}:v2023.11.30_mongo' db: - image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:5.0.15' + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:5.0.23' distribution: Official exporter: image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.32.0' @@ -39,5 +39,5 @@ spec: name: mongodb-backup-5.0.15 restoreTask: name: mongodb-restore-5.0.15 - version: 5.0.15 + version: 5.0.23 {{ end }} diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-6.0.5-official.yaml b/charts/kubedb-catalog/templates/mongodb/mongodb-6.0.12-official.yaml similarity index 95% rename from charts/kubedb-catalog/templates/mongodb/mongodb-6.0.5-official.yaml rename to charts/kubedb-catalog/templates/mongodb/mongodb-6.0.12-official.yaml index 24f534b08..18b09e01c 100644 --- a/charts/kubedb-catalog/templates/mongodb/mongodb-6.0.5-official.yaml +++ b/charts/kubedb-catalog/templates/mongodb/mongodb-6.0.12-official.yaml @@ -2,7 +2,7 @@ apiVersion: catalog.kubedb.com/v1alpha1 kind: MongoDBVersion metadata: - name: '6.0.5' + name: '6.0.12' labels: {{- include "kubedb-catalog.labels" . | nindent 4 }} spec: @@ -19,7 +19,7 @@ spec: walg: image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/wal-g") $) }}:v2023.11.30_mongo' db: - image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:6.0.5' + image: '{{ include "image.ghcr" (merge (dict "_repo" "appscode-images/mongo") $) }}:6.0.12' distribution: Official exporter: image: '{{ include "image.ghcr" (merge (dict "_repo" "kubedb/mongodb_exporter") $) }}:v0.32.0' @@ -39,5 +39,5 @@ spec: name: mongodb-backup-6.0.5 restoreTask: name: mongodb-restore-6.0.5 - version: 6.0.5 + version: 6.0.12 {{ end }}