fix
This commit is contained in:
12
share/dataset-mongo/common.tf
Normal file
12
share/dataset-mongo/common.tf
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
locals {
|
||||
common-labels = {
|
||||
"vynil.solidite.fr/owner-name" = var.instance
|
||||
"vynil.solidite.fr/owner-namespace" = var.namespace
|
||||
"vynil.solidite.fr/owner-category" = var.category
|
||||
"vynil.solidite.fr/owner-component" = var.component
|
||||
"app.kubernetes.io/managed-by" = "vynil"
|
||||
"app.kubernetes.io/name" = var.component
|
||||
"app.kubernetes.io/instance" = var.instance
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,11 @@ metadata:
|
||||
name: dataset-mongo
|
||||
description: null
|
||||
options:
|
||||
cacheSizeGB:
|
||||
default: 1
|
||||
examples:
|
||||
- 1
|
||||
type: integer
|
||||
image:
|
||||
default:
|
||||
pull_policy: IfNotPresent
|
||||
@@ -20,16 +25,6 @@ options:
|
||||
- IfNotPresent
|
||||
type: string
|
||||
type: object
|
||||
cacheSizeGB:
|
||||
default: 1
|
||||
examples:
|
||||
- 1
|
||||
type: integer
|
||||
replicas:
|
||||
default: 1
|
||||
examples:
|
||||
- 1
|
||||
type: integer
|
||||
mongo:
|
||||
default:
|
||||
version: 6.0.13
|
||||
@@ -40,6 +35,11 @@ options:
|
||||
default: 6.0.13
|
||||
type: string
|
||||
type: object
|
||||
replicas:
|
||||
default: 1
|
||||
examples:
|
||||
- 1
|
||||
type: integer
|
||||
ressources:
|
||||
default:
|
||||
limits:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
locals {
|
||||
mongo-labels = merge(local.common-labels, {
|
||||
mongo-labels = merge(local.common_labels, {
|
||||
"app.kubernetes.io/component" = "mongo"
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user