File tree Expand file tree Collapse file tree 2 files changed +8
-17
lines changed Expand file tree Collapse file tree 2 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -203,25 +203,15 @@ resource "helm_release" "cloud_monitoring_agent" {
203203 "ebpf":
204204 "enabled": ${ var . enable_universal_ebpf }
205205 "kind": "universal_ebpf"
206- "sysdig":
207- "tolerations":
206+ "tolerations":
208207%{ for toleration in var . tolerations ~}
209- %{ if toleration . key != null ~}
210- - "key": ${ toleration . key }
211- %{ endif ~}
212- %{ if toleration . operator != null ~}
213- - "operator": ${ toleration . operator }
214- %{ endif ~}
215- %{ if toleration . value != null ~}
216- - "value": ${ toleration . value }
217- %{ endif ~}
218- %{ if toleration . effect != null ~}
219- - "effect": ${ toleration . effect }
220- %{ endif ~}
221- %{ if toleration . tolerationSeconds != null ~}
222- - "tolerationSeconds": ${ toleration . tolerationSeconds }
223- %{ endif ~}
208+ -%{ if toleration . key != null } key: "${ toleration . key } "%{ endif }
209+ %{ if toleration . operator != null } operator: "${ toleration . operator } "%{ endif }
210+ %{ if toleration . value != null } value: "${ toleration . value } "%{ endif }
211+ %{ if toleration . effect != null } effect: "${ toleration . effect } "%{ endif }
212+ %{ if toleration . tolerationSeconds != null } tolerationSeconds: ${ toleration . tolerationSeconds } %{ endif }
224213%{ endfor ~}
214+ "sysdig":
225215 "settings":
226216 "host_scanner":
227217 "enabled": ${ var . enable_host_scanner }
Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ func TestRunAgentClassicKubernetes(t *testing.T) {
264264 })
265265 options .TerraformVars = map [string ]interface {}{
266266 "datacenter" : "syd01" ,
267+ "prefix" : options .Prefix ,
267268 }
268269
269270 output , err := options .RunTestConsistency ()
You can’t perform that action at this time.
0 commit comments