fix
This commit is contained in:
@@ -87,7 +87,6 @@ locals {
|
|||||||
volume = merge(lookup(lookup(var.alerts-containers, "storage", {}), "volume", {}), local.global-volume)
|
volume = merge(lookup(lookup(var.alerts-containers, "storage", {}), "volume", {}), local.global-volume)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
nodeExporter = { for k, v in var.node-exporter : k => v if k!="enable" }
|
|
||||||
nodeExporter = merge(local.global,{ for k, v in var.node-exporter : k => v if !contains(["enable","storage","backups"],k) },{
|
nodeExporter = merge(local.global,{ for k, v in var.node-exporter : k => v if !contains(["enable","storage","backups"],k) },{
|
||||||
backups = merge(lookup(var.node-exporter, "backups", {}), local.global-backups)
|
backups = merge(lookup(var.node-exporter, "backups", {}), local.global-backups)
|
||||||
storage = merge({ for k, v in lookup(var.node-exporter, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
storage = merge({ for k, v in lookup(var.node-exporter, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||||
|
|||||||
@@ -6,57 +6,6 @@ metadata:
|
|||||||
name: domain-monitor
|
name: domain-monitor
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
prometheus:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: prometheus
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
app_group:
|
|
||||||
default: infra
|
|
||||||
examples:
|
|
||||||
- infra
|
|
||||||
type: string
|
|
||||||
language:
|
|
||||||
default: fr_FR
|
|
||||||
examples:
|
|
||||||
- fr_FR
|
|
||||||
type: string
|
|
||||||
node-exporter:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: node-exporter
|
|
||||||
kube-state-metrics:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: kube-state-metrics
|
|
||||||
alerts-containers:
|
alerts-containers:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
@@ -69,33 +18,43 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: alerts-containers
|
x-vynil-package: alerts-containers
|
||||||
monitor-control-plan:
|
loki:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
- enable: false
|
- enable: true
|
||||||
properties:
|
properties:
|
||||||
enable:
|
enable:
|
||||||
default: false
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: monitor-control-plan
|
x-vynil-package: loki
|
||||||
domain_name:
|
domain_name:
|
||||||
default: your-company.com
|
default: your-company.com
|
||||||
examples:
|
examples:
|
||||||
- your-company.com
|
- your-company.com
|
||||||
type: string
|
type: string
|
||||||
sso_vynil:
|
timezone:
|
||||||
default: true
|
default: Europe/Paris
|
||||||
examples:
|
examples:
|
||||||
- true
|
- Europe/Paris
|
||||||
type: boolean
|
|
||||||
ingress_class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
type: string
|
||||||
|
distributions:
|
||||||
|
default:
|
||||||
|
core: core
|
||||||
|
domain: domain
|
||||||
|
examples:
|
||||||
|
- core: core
|
||||||
|
domain: domain
|
||||||
|
properties:
|
||||||
|
core:
|
||||||
|
default: core
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: domain
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
grafana:
|
grafana:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
@@ -108,7 +67,7 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: grafana
|
x-vynil-package: grafana
|
||||||
alertmanager:
|
node-exporter:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
@@ -119,7 +78,7 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: alertmanager
|
x-vynil-package: node-exporter
|
||||||
promtail:
|
promtail:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
@@ -132,12 +91,7 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: promtail
|
x-vynil-package: promtail
|
||||||
timezone:
|
alertmanager:
|
||||||
default: Europe/Paris
|
|
||||||
examples:
|
|
||||||
- Europe/Paris
|
|
||||||
type: string
|
|
||||||
dashboards-minimal:
|
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
@@ -148,7 +102,51 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: dashboards-minimal
|
x-vynil-package: alertmanager
|
||||||
|
language:
|
||||||
|
default: fr_FR
|
||||||
|
examples:
|
||||||
|
- fr_FR
|
||||||
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
app_group:
|
||||||
|
default: infra
|
||||||
|
examples:
|
||||||
|
- infra
|
||||||
|
type: string
|
||||||
|
alerts-core:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: alerts-core
|
||||||
|
kube-state-metrics:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: kube-state-metrics
|
||||||
storage:
|
storage:
|
||||||
default:
|
default:
|
||||||
volume:
|
volume:
|
||||||
@@ -172,71 +170,11 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
dashboards-namespace:
|
ingress_class:
|
||||||
default:
|
default: traefik
|
||||||
enable: true
|
|
||||||
examples:
|
examples:
|
||||||
- enable: true
|
- traefik
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: dashboards-namespace
|
|
||||||
loki:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: loki
|
|
||||||
alerts-core:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: alerts-core
|
|
||||||
dashboards-workload:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: dashboards-workload
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
type: string
|
||||||
dashboards-cluster:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: dashboards-cluster
|
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -277,21 +215,83 @@ options:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
distributions:
|
dashboards-cluster:
|
||||||
default:
|
default:
|
||||||
core: core
|
enable: true
|
||||||
domain: domain
|
|
||||||
examples:
|
examples:
|
||||||
- core: core
|
- enable: true
|
||||||
domain: domain
|
|
||||||
properties:
|
properties:
|
||||||
core:
|
enable:
|
||||||
default: core
|
default: true
|
||||||
type: string
|
type: boolean
|
||||||
domain:
|
|
||||||
default: domain
|
|
||||||
type: string
|
|
||||||
type: object
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: dashboards-cluster
|
||||||
|
prometheus:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: prometheus
|
||||||
|
dashboards-minimal:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: dashboards-minimal
|
||||||
|
dashboards-namespace:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: dashboards-namespace
|
||||||
|
dashboards-workload:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: dashboards-workload
|
||||||
|
monitor-control-plan:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: monitor-control-plan
|
||||||
|
sso_vynil:
|
||||||
|
default: true
|
||||||
|
examples:
|
||||||
|
- true
|
||||||
|
type: boolean
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user