fix
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user