Skip to content

Commit

Permalink
Fix helm LogzioRegion condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ralongit committed Jul 23, 2024
1 parent a4260ac commit 0596be2
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 @@ -27,7 +27,7 @@
"targetElement": "datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='METRICS' || @.type=='TRACING')]",
"conditionalTemplates": [
{
"condition": "((datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='METRICS')]) && (datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='METRICS')].params[?(@.name=='isObjectLogs')].value)) || (datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='TRACING')])",
"condition": "((datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='METRICS')].length > 0) && (datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='METRICS')].params[?(@.name=='isObjectLogs')].value)) || (datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='TRACING')].length > 0)",
"template": " --set logzio-k8s-telemetry.secrets.LogzioRegion='<<LOGZIO_ACCOUNT_REGION_CODE>>' \\"
}
]
Expand Down

0 comments on commit 0596be2

Please sign in to comment.