Skip to content

Commit

Permalink
Add mongodb 5.0.3
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Fahim Abrar <fahimabrar@appscode.com>
  • Loading branch information
Mohammad Fahim Abrar authored and tamalsaha committed Oct 8, 2021
1 parent e055d79 commit 9928ed2
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 11 deletions.
1 change: 1 addition & 0 deletions catalog/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"1.5.4-v1"
],
"MongoDB": [
"5.0.3",
"5.0.2",
"4.4.6",
"percona-4.2.7",
Expand Down
3 changes: 2 additions & 1 deletion catalog/backup_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@
"mongodb-backup-4.4.6": [
"4.4.6"
],
"mongodb-backup-5.0.2": [
"mongodb-backup-5.0.3": [
"5.0.3",
"5.0.2"
],
"mysql-backup-5.7.25": [
Expand Down
4 changes: 2 additions & 2 deletions catalog/raw/mongodb/mongodb-5.0.2-official.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
stash:
addon:
backupTask:
name: mongodb-backup-5.0.2
name: mongodb-backup-5.0.3
restoreTask:
name: mongodb-restore-5.0.2
name: mongodb-restore-5.0.3
version: 5.0.2
23 changes: 23 additions & 0 deletions catalog/raw/mongodb/mongodb-5.0.3-mongodb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: MongoDBVersion
metadata:
name: 5.0.3
spec:
db:
image: mongo:5.0.3
distribution: MongoDB
exporter:
image: kubedb/mongodb_exporter:v0.20.4
initContainer:
image: kubedb/mongodb-init:4.2-v2
podSecurityPolicies:
databasePolicyName: mongodb-db
replicationModeDetector:
image: kubedb/replication-mode-detector:v0.9.0
stash:
addon:
backupTask:
name: mongodb-backup-5.0.3
restoreTask:
name: mongodb-restore-5.0.3
version: 5.0.3
3 changes: 2 additions & 1 deletion catalog/restore_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@
"mongodb-restore-4.4.6": [
"4.4.6"
],
"mongodb-restore-5.0.2": [
"mongodb-restore-5.0.3": [
"5.0.3",
"5.0.2"
],
"mysql-restore-5.7.25": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ spec:
stash:
addon:
backupTask:
name: mongodb-backup-5.0.2
name: mongodb-backup-5.0.3
restoreTask:
name: mongodb-restore-5.0.2
name: mongodb-restore-5.0.3
version: 5.0.2
{{ end }}
27 changes: 27 additions & 0 deletions charts/kubedb-catalog/templates/mongodb/mongodb-5.0.3-mongodb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{{ if .Values.catalog.mongodb }}
apiVersion: catalog.kubedb.com/v1alpha1
kind: MongoDBVersion
metadata:
name: '5.0.3'
labels:
{{- include "kubedb-catalog.labels" . | nindent 4 }}
spec:
db:
image: '{{ include "official.registry" (set (.Values | deepCopy) "officialRegistry" (list "mongo")) }}:5.0.3'
distribution: MongoDB
exporter:
image: '{{ include "catalog.registry" . }}/mongodb_exporter:v0.20.4'
initContainer:
image: '{{ include "catalog.registry" . }}/mongodb-init:4.2-v2'
podSecurityPolicies:
databasePolicyName: mongodb-db
replicationModeDetector:
image: '{{ include "catalog.registry" . }}/replication-mode-detector:v0.9.0'
stash:
addon:
backupTask:
name: mongodb-backup-5.0.3
restoreTask:
name: mongodb-restore-5.0.3
version: 5.0.3
{{ end }}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
kmodules.xyz/client-go v0.0.0-20210928133955-8df5bb467db6
kmodules.xyz/schema-checker v0.1.3
sigs.k8s.io/yaml v1.2.0
stash.appscode.dev/installer v0.12.2-0.20211007063844-5e8dc3cd6620
stash.appscode.dev/installer v0.12.2-0.20211007115714-a8d440abd12f
)

replace gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -708,5 +708,5 @@ sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q=
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
stash.appscode.dev/installer v0.12.2-0.20211007063844-5e8dc3cd6620 h1:7d7AUuQji5WYgygeEIr78ITswCoZkt54D1KRxWko23E=
stash.appscode.dev/installer v0.12.2-0.20211007063844-5e8dc3cd6620/go.mod h1:USGEb3BkysH9hqGEJp/xvHL1Ffqi9XNLza5DGdyeJBQ=
stash.appscode.dev/installer v0.12.2-0.20211007115714-a8d440abd12f h1:XVolNSofmHsCVtl7TOKlMO0ccGLzE7mxmqZVp5UpNtE=
stash.appscode.dev/installer v0.12.2-0.20211007115714-a8d440abd12f/go.mod h1:USGEb3BkysH9hqGEJp/xvHL1Ffqi9XNLza5DGdyeJBQ=
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ sigs.k8s.io/structured-merge-diff/v4/value
# sigs.k8s.io/yaml v1.2.0
## explicit
sigs.k8s.io/yaml
# stash.appscode.dev/installer v0.12.2-0.20211007063844-5e8dc3cd6620
# stash.appscode.dev/installer v0.12.2-0.20211007115714-a8d440abd12f
## explicit
stash.appscode.dev/installer/catalog
# gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.3.0
Expand Down
2 changes: 1 addition & 1 deletion vendor/stash.appscode.dev/installer/catalog/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"4.1.13-v11",
"4.2.3-v11",
"4.4.6-v2",
"5.0.2"
"5.0.3"
]
},
{
Expand Down

0 comments on commit 9928ed2

Please sign in to comment.