diff --git a/catalog/kubedb/raw/mongodb/mongodb-4.4.26-official.yaml b/catalog/kubedb/raw/mongodb/mongodb-4.4.26-official.yaml index 07c2a6ba6..3ddf19f5e 100644 --- a/catalog/kubedb/raw/mongodb/mongodb-4.4.26-official.yaml +++ b/catalog/kubedb/raw/mongodb/mongodb-4.4.26-official.yaml @@ -23,7 +23,7 @@ spec: gitSyncer: image: registry.k8s.io/git-sync/git-sync:v4.1.0 initContainer: - image: ghcr.io/kubedb/mongodb-init:4.2-v9 + image: sayedppqq/mongodb-init:6.0-v9_linux_amd64 podSecurityPolicies: databasePolicyName: mongodb-db replicationModeDetector: diff --git a/catalog/kubedb/raw/mongodb/mongodb-5.0.23-official.yaml b/catalog/kubedb/raw/mongodb/mongodb-5.0.23-official.yaml index da5238a30..18b46b534 100644 --- a/catalog/kubedb/raw/mongodb/mongodb-5.0.23-official.yaml +++ b/catalog/kubedb/raw/mongodb/mongodb-5.0.23-official.yaml @@ -23,7 +23,7 @@ spec: gitSyncer: image: registry.k8s.io/git-sync/git-sync:v4.1.0 initContainer: - image: ghcr.io/kubedb/mongodb-init:4.2-v9 + image: sayedppqq/mongodb-init:6.0-v9_linux_amd64 podSecurityPolicies: databasePolicyName: mongodb-db replicationModeDetector: diff --git a/catalog/kubedb/raw/mongodb/mongodb-6.0.12-official.yaml b/catalog/kubedb/raw/mongodb/mongodb-6.0.12-official.yaml index b5bff2a4e..ad576b7f7 100644 --- a/catalog/kubedb/raw/mongodb/mongodb-6.0.12-official.yaml +++ b/catalog/kubedb/raw/mongodb/mongodb-6.0.12-official.yaml @@ -23,7 +23,7 @@ spec: gitSyncer: image: registry.k8s.io/git-sync/git-sync:v4.1.0 initContainer: - image: ghcr.io/kubedb/mongodb-init:6.0-v9 + image: sayedppqq/mongodb-init:6.0-v9_linux_amd64 podSecurityPolicies: databasePolicyName: mongodb-db replicationModeDetector: diff --git a/catalog/kubedb/raw/mongodb/mongodb-7.0.4-official.yaml b/catalog/kubedb/raw/mongodb/mongodb-7.0.4-official.yaml index e27fa1d80..6713c7ca1 100644 --- a/catalog/kubedb/raw/mongodb/mongodb-7.0.4-official.yaml +++ b/catalog/kubedb/raw/mongodb/mongodb-7.0.4-official.yaml @@ -23,7 +23,7 @@ spec: gitSyncer: image: registry.k8s.io/git-sync/git-sync:v4.1.0 initContainer: - image: ghcr.io/kubedb/mongodb-init:6.0-v9 + image: sayedppqq/mongodb-init:6.0-v9_linux_amd64 podSecurityPolicies: databasePolicyName: mongodb-db replicationModeDetector: diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-4.4.26-official.yaml b/charts/kubedb-catalog/templates/mongodb/mongodb-4.4.26-official.yaml index 6f169d81a..d91dc7117 100644 --- a/charts/kubedb-catalog/templates/mongodb/mongodb-4.4.26-official.yaml +++ b/charts/kubedb-catalog/templates/mongodb/mongodb-4.4.26-official.yaml @@ -32,7 +32,7 @@ spec: 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' + image: '{{ include "image.dockerHub" (merge (dict "_repo" "sayedppqq/mongodb-init") $) }}:6.0-v9_linux_amd64' podSecurityPolicies: databasePolicyName: mongodb-db replicationModeDetector: diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-5.0.23-official.yaml b/charts/kubedb-catalog/templates/mongodb/mongodb-5.0.23-official.yaml index 4ee18ad61..d2d080ed1 100644 --- a/charts/kubedb-catalog/templates/mongodb/mongodb-5.0.23-official.yaml +++ b/charts/kubedb-catalog/templates/mongodb/mongodb-5.0.23-official.yaml @@ -32,7 +32,7 @@ spec: 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' + image: '{{ include "image.dockerHub" (merge (dict "_repo" "sayedppqq/mongodb-init") $) }}:6.0-v9_linux_amd64' podSecurityPolicies: databasePolicyName: mongodb-db replicationModeDetector: diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-6.0.12-official.yaml b/charts/kubedb-catalog/templates/mongodb/mongodb-6.0.12-official.yaml index 8f66fad13..ddf5cbeac 100644 --- a/charts/kubedb-catalog/templates/mongodb/mongodb-6.0.12-official.yaml +++ b/charts/kubedb-catalog/templates/mongodb/mongodb-6.0.12-official.yaml @@ -32,7 +32,7 @@ spec: 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' + image: '{{ include "image.dockerHub" (merge (dict "_repo" "sayedppqq/mongodb-init") $) }}:6.0-v9_linux_amd64' podSecurityPolicies: databasePolicyName: mongodb-db replicationModeDetector: diff --git a/charts/kubedb-catalog/templates/mongodb/mongodb-7.0.4-official.yaml b/charts/kubedb-catalog/templates/mongodb/mongodb-7.0.4-official.yaml index b787f598e..4c07aac42 100644 --- a/charts/kubedb-catalog/templates/mongodb/mongodb-7.0.4-official.yaml +++ b/charts/kubedb-catalog/templates/mongodb/mongodb-7.0.4-official.yaml @@ -1,4 +1,10 @@ -{{ if .Values.catalog.mongodb }} +{{ $featureGates := .Values.featureGates }} +{{- if .Values.global }} + {{ $featureGates = mergeOverwrite dict .Values.featureGates .Values.global.featureGates }} +{{- end }} + +{{ if $featureGates.MongoDB }} + apiVersion: catalog.kubedb.com/v1alpha1 kind: MongoDBVersion metadata: @@ -26,7 +32,7 @@ spec: 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' + image: '{{ include "image.dockerHub" (merge (dict "_repo" "sayedppqq/mongodb-init") $) }}:6.0-v9_linux_amd64' podSecurityPolicies: databasePolicyName: mongodb-db replicationModeDetector: