Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"deploy": {
"steps": [
{
"apply": {
"file": "data/mongodb_operator_onboarding_task/operator.yaml",
"operator": true
}
},
{
"apply": {
"file": "data/mongodb_operator_onboarding_task/rbac.yaml"

}
},
{
"apply": {
"file": "data/mongodb_operator_onboarding_task/crd.yaml"

}
},
{
"apply": {
"file": "data/mongodb_operator_onboarding_task/secret.yaml"

}
}
]
},
"crd_name": null,
"seed_custom_resource": "data/mongodb_operator_onboarding_task/cr.yaml"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
apiVersion: mongodbcommunity.mongodb.com/v1
kind: MongoDBCommunity
metadata:
namespace: acto-namespace
name: test-cluster
spec:
automationConfig:
processes:
- disabled: false
name: test-cluster-1
members: 3
type: ReplicaSet
version: "4.4.0"
security:
authentication:
modes: ["SCRAM"]
users:
- name: my-user
db: admin
passwordSecretRef: # a reference to the secret that will be used to generate the user's password
name: my-user-password
roles:
- name: clusterAdmin
db: admin
- name: userAdminAnyDatabase
db: admin
scramCredentialsSecretName: my-scram
statefulSet:
spec:
template:
spec:
# resources can be specified by applying an override
# per container name.
containers:
- name: mongod
resources:
limits:
cpu: "1"
memory: 1000M
requests:
cpu: "1"
memory: 1000M
- name: mongodb-agent
resources:
limits:
cpu: "1"
memory: 1000M
requests:
cpu: "1"
memory: 1000M
Loading