Skip to content

Commit

Permalink
refactor: unify mongodb deployment for prod and dev
Browse files Browse the repository at this point in the history
  • Loading branch information
limwa committed Jul 5, 2024
1 parent 1049297 commit f56c76d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 40 deletions.
26 changes: 0 additions & 26 deletions services/databases/mongodb/deploy-mongodb-dev.sh

This file was deleted.

14 changes: 0 additions & 14 deletions services/databases/mongodb/deploy-mongodb-prod.sh

This file was deleted.

12 changes: 12 additions & 0 deletions services/databases/mongodb/deploy-mongodb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# Install CRDs
kubectl apply -f "https://raw.githubusercontent.com/limwa/mongodb-kubernetes-operator/master/config/crd/bases/mongodbcommunity.mongodb.com_mongodbcommunity.yaml"

# Deploy operator
helm repo add mongodb https://mongodb.github.io/helm-charts
helm upgrade --install community-operator mongodb/community-operator \
--namespace mongodb \
--create-namespace \
--values "$(dirname "$0")/values.yaml"

0 comments on commit f56c76d

Please sign in to comment.