argocd mongodb-operator

This commit is contained in:
2025-08-07 19:23:02 +03:00
parent bbf454f33d
commit f5560f812b
4 changed files with 40 additions and 7 deletions

View File

@@ -1 +0,0 @@
application.yml

View File

@@ -1,13 +1,13 @@
# MongoDB Community Kubernetes Operator
To update operator itself:
## Derployment
With ArgoCD. Render it locally:
```sh
kustomize build . --enable-helm
```
helm repo add mongodb https://mongodb.github.io/helm-charts
helm template -n mongodb-operator community-operator mongodb/community-operator -f values.yaml > application.yml
kubectl create namespace mongodb-operator
kubectl apply -f application.yml
```
To update RBAC rules:

View File

@@ -0,0 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: mongodb-operator
# spec: https://kubectl.docs.kubernetes.io/references/kustomize/builtins/#_helmchartinflationgenerator_
helmCharts:
- includeCRDs: true
name: &name community-operator
releaseName: *name
repo: https://mongodb.github.io/helm-charts
valuesFile: values.yaml
version: 0.10.0 # helm search repo mongodb/community-operator --versions