hive-apps/projects/bi/manifests/mongo.yml
2024-06-30 16:12:21 +02:00

26 lines
568 B
YAML

---
apiVersion: mongodbcommunity.mongodb.com/v1
kind: MongoDBCommunity
metadata:
name: bi-mongo
namespace: bi
spec:
members: 1
type: ReplicaSet
version: "6.0.5"
security:
authentication:
modes: ["SCRAM"]
users:
- name: admin
db: admin
passwordSecretRef:
name: bi-mongo-password
roles:
- name: clusterAdmin
db: admin
- name: userAdminAnyDatabase
db: admin
scramCredentialsSecretName: bi
additionalMongodConfig:
storage.wiredTiger.engineConfig.journalCompressor: zlib