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
description: null
options:
mongo:
default:
version: 6.0.13
examples:
- version: 6.0.13
properties:
version:
default: 6.0.13
type: string
type: object
image:
default:
pull_policy: IfNotPresent
@@ -30,16 +20,26 @@ options:
- IfNotPresent
type: string
type: object
replicas:
default: 1
examples:
- 1
type: integer
cacheSizeGB:
default: 1
examples:
- 1
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:
default:
limits:

View File

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