forked from k-space/kube
argocd mongodb-operator
This commit is contained in:
1
mongodb-operator/.gitignore
vendored
1
mongodb-operator/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
application.yml
|
@@ -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:
|
||||
|
||||
|
13
mongodb-operator/kustomization.yaml
Normal file
13
mongodb-operator/kustomization.yaml
Normal 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
|
Reference in New Issue
Block a user