File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,14 @@ write_files:
1515 monitoring_interface:
1616 name: ${ mon_int}
1717 wait: true
18- %{ if mon_subnet != " " && mon_gateway != " " ~}
18+ %{ if health_port != " " ~}
1919 health_check:
2020 port: ${ health_port}
21+ %{ endif ~}
22+ %{ if mon_subnet != " " }
2123 subnet: ${ mon_subnet}
24+ %{ endif ~}
25+ %{ if mon_gateway != " " }
2226 gateway: ${ mon_gateway}
2327%{ endif ~}
2428 kubernetes:
@@ -43,7 +47,6 @@ runcmd:
4347 - |
4448 echo '{ " cloud_enrichment.enable" : " true" , " cloud_enrichment.cloud_provider" : " gcp" ," cloud_enrichment.bucket_name" : " ${bucket_name}" } ' | corelightctl sensor cfg put
4549%{ endif ~}
46- # TODO: Remove after Software Sensor v27.14.0 is released
4750%{ if enrichment_enabled ~}
4851 - /usr/local/bin/kubectl rollout restart deployment -n corelight-sensor sensor-core
4952%{ endif ~}
You can’t perform that action at this time.
0 commit comments