582 B
582 B
MongoDB Community Kubernetes Operator
Derployment
With ArgoCD. Render it locally:
kustomize build . --enable-helm
Instantiating databases
For each application include mongodb-netpol.yaml and kustomization in resources:
resources:
- https://git.k-space.ee/k-space/kube//mongodb-operator/mongodb-netpol.yaml
- https://github.com/mongodb/mongodb-kubernetes-operator//config/rbac/?ref=v0.13.0
kubectl create secret generic -n <application> mongodb-application-user-password --from-literal="password=$(cat /dev/urandom | base64 | head -c 30)"