diff --git a/packages/litmus-mongodb/v3.6.0+1/mongodb.yaml b/packages/litmus-mongodb/v3.6.0+1/mongodb.yaml new file mode 100644 index 00000000..ca56b29c --- /dev/null +++ b/packages/litmus-mongodb/v3.6.0+1/mongodb.yaml @@ -0,0 +1,28 @@ +apiVersion: mongodbcommunity.mongodb.com/v1 +kind: MongoDBCommunity +metadata: + name: litmus-db +spec: + members: 3 + type: ReplicaSet + version: "6.0.5" + security: + authentication: + modes: ["SCRAM-SHA-1"] + users: + - name: litmus + passwordSecretRef: + name: litmus-db + scramCredentialsSecretName: litmus-db + roles: + - name: root + db: "admin" + +--- +apiVersion: v1 +kind: Secret +metadata: + name: litmus-db +type: Opaque +stringData: + password: "litmus1234" diff --git a/packages/litmus-mongodb/v3.6.0+1/package.yaml b/packages/litmus-mongodb/v3.6.0+1/package.yaml new file mode 100644 index 00000000..a3bed1ae --- /dev/null +++ b/packages/litmus-mongodb/v3.6.0+1/package.yaml @@ -0,0 +1,17 @@ +# yaml-language-server: $schema=https://glasskube.dev/schemas/v1/package-manifest.json +name: litmus-mongodb +iconUrl: https://avatars.githubusercontent.com/u/45120 +shortDescription: MongoDB instance for litmus +defaultNamespace: litmus +helm: + repositoryUrl: https://mongodb.github.io/helm-charts + chartName: community-operator + chartVersion: "0.9.0" + values: + community-operator-crds: + enabled: false +manifests: + - url: http://localhost:9090/packages/litmus-mongodb/v3.6.0+1/mongodb.yaml +dependencies: + - name: mongodb-operator-crds + version: ">=0.9.0" diff --git a/packages/litmus-mongodb/versions.yaml b/packages/litmus-mongodb/versions.yaml new file mode 100644 index 00000000..841db88b --- /dev/null +++ b/packages/litmus-mongodb/versions.yaml @@ -0,0 +1,3 @@ +latestVersion: v3.6.0+1 +versions: + - version: v3.6.0+1 diff --git a/packages/litmus/v3.6.0+1/package.yaml b/packages/litmus/v3.6.0+1/package.yaml index 3eac52f7..06a96b1c 100644 --- a/packages/litmus/v3.6.0+1/package.yaml +++ b/packages/litmus/v3.6.0+1/package.yaml @@ -23,6 +23,16 @@ helm: repositoryUrl: https://litmuschaos.github.io/litmus-helm/ chartName: litmus chartVersion: "3.6.0" + values: + mongodb: + enabled: false + adminConfig: + DBUSER: litmus + DBPASSWORD: "litmus1234" + DB_SERVER: "mongodb://litmus-db-svc:27017/admin" +dependencies: + - name: litmus-mongodb + version: ">=3.6.0" entrypoints: - name: frontend serviceName: litmus-frontend-service