Skip to content

Commit

Permalink
Fix LogzioRegion template condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ralongit committed Jul 23, 2024
1 parent 2001ce7 commit 425a526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-templates/helm.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"targetElement": "datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='METRICS' || @.type=='TRACING')]",
"conditionalTemplates": [
{
"condition": "($.telemetries[?(@.type == 'METRICS')] && $.telemetries[?(@.type=='METRICS')].params[?(@.name=='isObjectLogs')].value) || ($.telemetries[?(@.type == 'TRACING')])",
"condition": "$[?(@.type=='TRACING' || (@.type=='METRICS' && @.params[?(@.name=='isObjectLogs')].value==true))]",
"template": " --set logzio-k8s-telemetry.secrets.LogzioRegion='<<LOGZIO_ACCOUNT_REGION_CODE>>' \\"
}
]
Expand Down

0 comments on commit 425a526

Please sign in to comment.