This commit is contained in:
2023-10-15 12:38:53 +02:00
parent 0cdd855e3e
commit 766fc68834
2 changed files with 24 additions and 23 deletions

View File

@@ -6,6 +6,26 @@ metadata:
name: dataset-mongo
description: null
options:
cacheSizeGB:
default: 1
examples:
- 1
type: integer
replicas:
default: 1
examples:
- 1
type: integer
mongo:
default:
version: 4.4.0
examples:
- version: 4.4.0
properties:
version:
default: 4.4.0
type: string
type: object
image:
default:
pullPolicy: IfNotPresent
@@ -20,26 +40,6 @@ options:
- IfNotPresent
type: string
type: object
mongo:
default:
version: 4.4.0
examples:
- version: 4.4.0
properties:
version:
default: 4.4.0
type: string
type: object
replicas:
default: 1
examples:
- 1
type: integer
cacheSizeGB:
default: 1
examples:
- 1
type: integer
ressources:
default:
limits:
@@ -92,4 +92,5 @@ providers:
postgresql: null
restapi: null
http: null
gitea: null
tfaddtype: null

View File

@@ -75,10 +75,10 @@ resource "kubectl_manifest" "prj_mongo" {
additionalMongodConfig:
storage.wiredTiger.engineConfig.cacheSizeGB: ${var.cacheSizeGB}
users:
- name: ${var.component}
db: ${var.component}
- name: ${var.instance}
db: ${var.instance}
passwordSecretRef:
name: "${var.instance}-${var.component}"
name: "${var.instance}"
roles:
- db: ${var.component}
name: readWrite