This commit is contained in:
2024-02-21 14:30:29 +01:00
parent 2442d9e6a2
commit 62e7ee0379
2 changed files with 16 additions and 16 deletions

View File

@@ -6,16 +6,6 @@ metadata:
name: dataset-mongo name: dataset-mongo
description: null description: null
options: options:
mongo:
default:
version: 6.0.13
examples:
- version: 6.0.13
properties:
version:
default: 6.0.13
type: string
type: object
image: image:
default: default:
pull_policy: IfNotPresent pull_policy: IfNotPresent
@@ -30,16 +20,26 @@ options:
- IfNotPresent - IfNotPresent
type: string type: string
type: object type: object
replicas:
default: 1
examples:
- 1
type: integer
cacheSizeGB: cacheSizeGB:
default: 1 default: 1
examples: examples:
- 1 - 1
type: integer type: integer
replicas:
default: 1
examples:
- 1
type: integer
mongo:
default:
version: 6.0.13
examples:
- version: 6.0.13
properties:
version:
default: 6.0.13
type: string
type: object
ressources: ressources:
default: default:
limits: limits:

View File

@@ -80,7 +80,7 @@ resource "kubectl_manifest" "prj_mongo" {
passwordSecretRef: passwordSecretRef:
name: "${var.instance}-${var.component}" name: "${var.instance}-${var.component}"
roles: roles:
- db: ${var.component} - db: ${var.instance}
name: readWrite name: readWrite
scramCredentialsSecretName: "${var.instance}-${var.component}-scram" scramCredentialsSecretName: "${var.instance}-${var.component}-scram"
EOF EOF