Skip to content

Commit

Permalink
test init image
Browse files Browse the repository at this point in the history
Signed-off-by: Arnob kumar saha <[email protected]>
  • Loading branch information
ArnobKumarSaha committed Jan 8, 2024
1 parent 442fc47 commit ec31580
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion catalog/kubedb/raw/mongodb/mongodb-4.4.26-official.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion catalog/kubedb/raw/mongodb/mongodb-5.0.23-official.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion catalog/kubedb/raw/mongodb/mongodb-6.0.12-official.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion catalog/kubedb/raw/mongodb/mongodb-7.0.4-official.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ec31580

Please sign in to comment.