Skip to content

Commit 2e128c2

Browse files
Adding a shim to restart the sensor after enrichment is enabled. This is being addressed in v27.14.0 (#8)
1 parent 50b3337 commit 2e128c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cloud-config/init.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@ runcmd:
4343
- |
4444
echo '{"cloud_enrichment.enable": "true", "cloud_enrichment.cloud_provider": "gcp","cloud_enrichment.bucket_name": "${bucket_name}"}' | corelightctl sensor cfg put
4545
%{ endif ~}
46+
# TODO: Remove after Software Sensor v27.14.0 is released
47+
%{ if enrichment_enabled ~}
48+
- /usr/local/bin/kubectl rollout restart deployment -n corelight-sensor sensor-core
49+
%{ endif ~}

0 commit comments

Comments
 (0)