forked from lacework/terraform-kubernetes-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_node.tmpl
29 lines (29 loc) · 856 Bytes
/
config_node.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
%{ if ! lacework_agent_autoupgrade }
"autoupgrade": "disable",
%{ endif }
%{ if lacework_agent_interface_connection_size != "" }
"InterfaceConnectionSize": "${lacework_agent_interface_connection_size}",
%{ endif }
%{ if lacework_proxy_url != "" }
"proxyurl": "${lacework_proxy_url}",
%{ endif }
%{ if lacework_server_url != "" }
"serverurl": "${lacework_server_url}",
%{ endif }
%{ if lacework_cluster_type != "" && lacework_cluster_region != ""}
"k8snodecollector": {
%{ if lacework_cluster_type != "" }
"k8sclustertype": "${lacework_cluster_type}",
%{ endif }
%{ if lacework_cluster_region != "" }
"clusterregion": "${lacework_cluster_region}",
%{ endif }
%{ if lacework_cluster_exclusive }
"exclusivemode": "true",
%{ endif }
"state": "enabled"
},
%{ endif }
"tags": ${lacework_agent_tags}
}