Skip to content

Commit

Permalink
Use correct ternary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sgamelin committed Oct 28, 2024
1 parent a5e3bca commit fb15549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pubsubplus/templates/insights-configmap-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
$maasDatacenterId
.Values.solace.size
$serviceType
(ternary (printf " service_id:%s" $serviceId) "" (not $includeServiceIdTag))
(ternary (printf " service_name:%s" $serviceName) "" (not $includeServiceNameTag))
(ternary (printf " service_id:%s" $serviceId) "" ($includeServiceIdTag))
(ternary (printf " service_name:%s" $serviceName) "" ($includeServiceNameTag))
-}}
{{- $ddTagsDefault := "monitoring_mode:advanced datacenter_access_type:Private datacenter_type:CustomerManaged is_trial:false peb_type:software provider:k8s maas_id:customermanaged" -}}

Expand Down

0 comments on commit fb15549

Please sign in to comment.