fix
This commit is contained in:
@@ -6,6 +6,26 @@ metadata:
|
|||||||
name: dataset-mongo
|
name: dataset-mongo
|
||||||
description: null
|
description: null
|
||||||
options:
|
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:
|
image:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
@@ -20,26 +40,6 @@ options:
|
|||||||
- IfNotPresent
|
- IfNotPresent
|
||||||
type: string
|
type: string
|
||||||
type: object
|
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:
|
ressources:
|
||||||
default:
|
default:
|
||||||
limits:
|
limits:
|
||||||
@@ -92,4 +92,5 @@ providers:
|
|||||||
postgresql: null
|
postgresql: null
|
||||||
restapi: null
|
restapi: null
|
||||||
http: null
|
http: null
|
||||||
|
gitea: null
|
||||||
tfaddtype: null
|
tfaddtype: null
|
||||||
|
|||||||
@@ -75,10 +75,10 @@ resource "kubectl_manifest" "prj_mongo" {
|
|||||||
additionalMongodConfig:
|
additionalMongodConfig:
|
||||||
storage.wiredTiger.engineConfig.cacheSizeGB: ${var.cacheSizeGB}
|
storage.wiredTiger.engineConfig.cacheSizeGB: ${var.cacheSizeGB}
|
||||||
users:
|
users:
|
||||||
- name: ${var.component}
|
- name: ${var.instance}
|
||||||
db: ${var.component}
|
db: ${var.instance}
|
||||||
passwordSecretRef:
|
passwordSecretRef:
|
||||||
name: "${var.instance}-${var.component}"
|
name: "${var.instance}"
|
||||||
roles:
|
roles:
|
||||||
- db: ${var.component}
|
- db: ${var.component}
|
||||||
name: readWrite
|
name: readWrite
|
||||||
|
|||||||
Reference in New Issue
Block a user