File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ module "grafana_alloy_cluster" {
156156 kubernetes_namespace = local. namespace
157157
158158 replicas = var. grafana_alloy . cluster . replicas
159- global_tolerations = var. grafana_alloy . metrics . global_tolerations
159+ global_tolerations = var. grafana_alloy . global_tolerations
160160 metrics = {
161161 endpoint = var.grafana_alloy.metrics.endpoint
162162 tenant = var.grafana_alloy.metrics.tenant
@@ -190,7 +190,7 @@ module "grafana_alloy_loki" {
190190 kubernetes_namespace = local. namespace
191191
192192 replicas = var. grafana_alloy . loki . replicas
193- global_tolerations = var. grafana_alloy . metrics . global_tolerations
193+ global_tolerations = var. grafana_alloy . global_tolerations
194194 metrics = {
195195 endpoint = var.grafana_alloy.metrics.endpoint
196196 tenant = var.grafana_alloy.metrics.tenant
@@ -234,7 +234,7 @@ module "grafana_alloy_node" {
234234 kubernetes_cluster_name = var. cluster_name
235235 chart_version = " 0.12.5"
236236 kubernetes_namespace = local. namespace
237- global_tolerations = var. grafana_alloy . metrics . global_tolerations
237+ global_tolerations = var. grafana_alloy . global_tolerations
238238 metrics = {
239239 endpoint = var.grafana_alloy.metrics.endpoint
240240 tenant = var.grafana_alloy.metrics.tenant
Original file line number Diff line number Diff line change @@ -315,6 +315,12 @@ variable "kyverno" {
315315variable "grafana_alloy" {
316316 description = " grafana alloy configuration"
317317 type = object ({
318+ global_tolerations = optional (list (object ({
319+ key = optional (string , null )
320+ operator = optional (string , null )
321+ value = optional (string , null )
322+ effect = optional (string , null )
323+ })), [])
318324 image = optional (object ({
319325 repository = optional (string , " grafana/alloy" )
320326 }), {})
You can’t perform that action at this time.
0 commit comments