Created
May 28, 2022 09:15
-
-
Save iamabhishek-dubey/34b3b9c2ee31c0bf243ac8aeef4a2256 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: opstreelabs.in/v1alpha1 | |
kind: MongoDBCluster | |
metadata: | |
name: mongodb | |
spec: | |
clusterSize: 3 | |
kubernetesConfig: | |
image: quay.io/opstree/mongo:v5.0 | |
imagePullPolicy: IfNotPresent | |
storage: | |
accessModes: ["ReadWriteOnce"] | |
storageSize: 1Gi | |
storageClass: csi-cephfs-sc | |
mongoDBSecurity: | |
mongoDBAdminUser: admin | |
secretRef: | |
name: mongodb-secret | |
key: password | |
mongoDBMonitoring: | |
enableExporter: true | |
image: bitnami/mongodb-exporter:0.11.2-debian-10-r382 | |
imagePullPolicy: IfNotPresent | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment