diff --git a/charts/k8s-monitoring/docs/examples/auth/bearer-token/alloy-receiver.alloy b/charts/k8s-monitoring/docs/examples/auth/bearer-token/alloy-receiver.alloy index a28814541..f36c2f428 100644 --- a/charts/k8s-monitoring/docs/examples/auth/bearer-token/alloy-receiver.alloy +++ b/charts/k8s-monitoring/docs/examples/auth/bearer-token/alloy-receiver.alloy @@ -68,18 +68,24 @@ otelcol.processor.transform "tempo" { error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/docs/examples/auth/bearer-token/output.yaml b/charts/k8s-monitoring/docs/examples/auth/bearer-token/output.yaml index 58c5da0ef..f6d9e4fe6 100644 --- a/charts/k8s-monitoring/docs/examples/auth/bearer-token/output.yaml +++ b/charts/k8s-monitoring/docs/examples/auth/bearer-token/output.yaml @@ -430,18 +430,24 @@ data: error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"bearer-token-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"bearer-token-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/docs/examples/auth/embedded-secrets/alloy-receiver.alloy b/charts/k8s-monitoring/docs/examples/auth/embedded-secrets/alloy-receiver.alloy index d739e6f23..573fb7074 100644 --- a/charts/k8s-monitoring/docs/examples/auth/embedded-secrets/alloy-receiver.alloy +++ b/charts/k8s-monitoring/docs/examples/auth/embedded-secrets/alloy-receiver.alloy @@ -67,18 +67,24 @@ otelcol.processor.transform "tempo" { error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/docs/examples/auth/embedded-secrets/output.yaml b/charts/k8s-monitoring/docs/examples/auth/embedded-secrets/output.yaml index b03bbba83..41d757841 100644 --- a/charts/k8s-monitoring/docs/examples/auth/embedded-secrets/output.yaml +++ b/charts/k8s-monitoring/docs/examples/auth/embedded-secrets/output.yaml @@ -418,18 +418,24 @@ data: error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"embedded-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"embedded-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/docs/examples/auth/external-secrets/alloy-receiver.alloy b/charts/k8s-monitoring/docs/examples/auth/external-secrets/alloy-receiver.alloy index fd4f488ee..f94f401d6 100644 --- a/charts/k8s-monitoring/docs/examples/auth/external-secrets/alloy-receiver.alloy +++ b/charts/k8s-monitoring/docs/examples/auth/external-secrets/alloy-receiver.alloy @@ -85,18 +85,24 @@ otelcol.processor.transform "tempo" { error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/docs/examples/auth/external-secrets/output.yaml b/charts/k8s-monitoring/docs/examples/auth/external-secrets/output.yaml index ab73f92ff..3d87d2744 100644 --- a/charts/k8s-monitoring/docs/examples/auth/external-secrets/output.yaml +++ b/charts/k8s-monitoring/docs/examples/auth/external-secrets/output.yaml @@ -453,18 +453,24 @@ data: error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"external-secrets-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"external-secrets-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/docs/examples/features/applicaiton-observability/default/alloy-receiver.alloy b/charts/k8s-monitoring/docs/examples/features/applicaiton-observability/default/alloy-receiver.alloy index f1061c3d8..9168a0dbd 100644 --- a/charts/k8s-monitoring/docs/examples/features/applicaiton-observability/default/alloy-receiver.alloy +++ b/charts/k8s-monitoring/docs/examples/features/applicaiton-observability/default/alloy-receiver.alloy @@ -14,18 +14,24 @@ otelcol.processor.transform "otlp_gateway" { error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/docs/examples/features/applicaiton-observability/default/output.yaml b/charts/k8s-monitoring/docs/examples/features/applicaiton-observability/default/output.yaml index 0b9fff6bb..73c8e8abb 100644 --- a/charts/k8s-monitoring/docs/examples/features/applicaiton-observability/default/output.yaml +++ b/charts/k8s-monitoring/docs/examples/features/applicaiton-observability/default/output.yaml @@ -39,18 +39,24 @@ data: error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"applications-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"applications-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/docs/examples/proxies/alloy-receiver.alloy b/charts/k8s-monitoring/docs/examples/proxies/alloy-receiver.alloy index acc0ad353..73120cf40 100644 --- a/charts/k8s-monitoring/docs/examples/proxies/alloy-receiver.alloy +++ b/charts/k8s-monitoring/docs/examples/proxies/alloy-receiver.alloy @@ -58,18 +58,24 @@ otelcol.processor.transform "tempo" { error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/docs/examples/proxies/output.yaml b/charts/k8s-monitoring/docs/examples/proxies/output.yaml index e40b94fb5..419cbcffb 100644 --- a/charts/k8s-monitoring/docs/examples/proxies/output.yaml +++ b/charts/k8s-monitoring/docs/examples/proxies/output.yaml @@ -766,18 +766,24 @@ data: error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"proxies-example-cluster\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"proxies-example-cluster\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output { diff --git a/charts/k8s-monitoring/templates/destinations/_destination_otlp.tpl b/charts/k8s-monitoring/templates/destinations/_destination_otlp.tpl index e8d2b8784..930896b5e 100644 --- a/charts/k8s-monitoring/templates/destinations/_destination_otlp.tpl +++ b/charts/k8s-monitoring/templates/destinations/_destination_otlp.tpl @@ -30,18 +30,24 @@ otelcol.processor.transform {{ include "helper.alloy_name" .name | quote }} { error_mode = "ignore" metric_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"{{ $.Values.cluster.name }}\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"{{ $.Values.cluster.name }}\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"{{ $.Values.cluster.name }}\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"{{ $.Values.cluster.name }}\") where attributes[\"k8s.cluster.name\"] == nil", + ] } log_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"{{ $.Values.cluster.name }}\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"{{ $.Values.cluster.name }}\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"{{ $.Values.cluster.name }}\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"{{ $.Values.cluster.name }}\") where attributes[\"k8s.cluster.name\"] == nil", + ] } trace_statements { context = "resource" - statements = ["set(attributes[\"cluster\"], \"{{ $.Values.cluster.name }}\") where attributes[\"cluster\"] == nil"] - statements = ["set(attributes[\"k8s.cluster.name\"], \"{{ $.Values.cluster.name }}\") where attributes[\"k8s.cluster.name\"] == nil"] + statements = [ + "set(attributes[\"cluster\"], \"{{ $.Values.cluster.name }}\") where attributes[\"cluster\"] == nil", + "set(attributes[\"k8s.cluster.name\"], \"{{ $.Values.cluster.name }}\") where attributes[\"k8s.cluster.name\"] == nil", + ] } output {