Skip to content

Commit a11d7d0

Browse files
author
Mohammad Fahim Abrar
authored
Support MongoDB Version 4.4.6 (#312)
Signed-off-by: Mohammad Fahim Abrar <fahimabrar@appscode.com>
1 parent 4c79e1a commit a11d7d0

File tree

5 files changed

+57
-0
lines changed

5 files changed

+57
-0
lines changed

catalog/active_versions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"1.5.4-v1"
6363
],
6464
"MongoDB": [
65+
"4.4.6",
6566
"percona-4.2.7",
6667
"4.2.3",
6768
"4.1.13-v1",

catalog/backup_tasks.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
9494
"percona-4.2.7",
9595
"4.2.3"
9696
],
97+
"mongodb-backup-4.4.6": [
98+
"4.4.6"
99+
],
97100
"mysql-backup-5.7.25": [
98101
"5.7.33-v1",
99102
"5.7.31-v2",
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: catalog.kubedb.com/v1alpha1
2+
kind: MongoDBVersion
3+
metadata:
4+
name: 4.4.6
5+
spec:
6+
db:
7+
image: kubedb/mongo:4.4.6
8+
distribution: MongoDB
9+
exporter:
10+
image: kubedb/mongodb_exporter:v0.20.4
11+
initContainer:
12+
image: kubedb/mongodb-init:4.2-v2
13+
podSecurityPolicies:
14+
databasePolicyName: mongodb-db
15+
replicationModeDetector:
16+
image: kubedb/replication-mode-detector:v0.5.0
17+
stash:
18+
addon:
19+
backupTask:
20+
name: mongodb-backup-4.4.6
21+
restoreTask:
22+
name: mongodb-restore-4.4.6
23+
version: 4.4.6

catalog/restore_tasks.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
9494
"percona-4.2.7",
9595
"4.2.3"
9696
],
97+
"mongodb-restore-4.4.6": [
98+
"4.4.6"
99+
],
97100
"mysql-restore-5.7.25": [
98101
"5.7.33-v1",
99102
"5.7.31-v2",
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{{ if .Values.catalog.mongodb }}
2+
apiVersion: catalog.kubedb.com/v1alpha1
3+
kind: MongoDBVersion
4+
metadata:
5+
name: '4.4.6'
6+
labels:
7+
{{- include "kubedb-catalog.labels" . | nindent 4 }}
8+
spec:
9+
db:
10+
image: '{{ include "catalog.registry" . }}/mongo:4.4.6'
11+
distribution: MongoDB
12+
exporter:
13+
image: '{{ include "catalog.registry" . }}/mongodb_exporter:v0.20.4'
14+
initContainer:
15+
image: '{{ include "catalog.registry" . }}/mongodb-init:4.2-v2'
16+
podSecurityPolicies:
17+
databasePolicyName: mongodb-db
18+
replicationModeDetector:
19+
image: '{{ include "catalog.registry" . }}/replication-mode-detector:v0.5.0'
20+
stash:
21+
addon:
22+
backupTask:
23+
name: mongodb-backup-4.4.6
24+
restoreTask:
25+
name: mongodb-restore-4.4.6
26+
version: 4.4.6
27+
{{ end }}

0 commit comments

Comments
 (0)