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