lacework / helm-charts

Official Lacework Helm Charts
Apache License 2.0
12 stars 29 forks source link

Update lacework-agent 6.11 tgz release #229

Closed abapat closed 6 months ago

abapat commented 8 months ago

The last release did not include a change to set codeaware experimental values correctly. Re-package 6.11 to ensure it installs correctly. Also, update link in readme to a working docs link.

Testing: Install lacework-agent with new helm chart

$ helm upgrade lacework-agent lacework-agent --install --namespace lacework --create-namespace --set laceworkConfig.accessToken=${token}
Release "lacework-agent" has been upgraded. Happy Helming!
NAME: lacework-agent
LAST DEPLOYED: Wed Jan 17 09:27:33 2024
NAMESPACE: lacework
STATUS: deployed
REVISION: 2

Ensure it is running 6.11

$ k exec -it lacework-agent-rc7cc /bin/bash
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
root@kind-control-plane:/# head /var/log/lacework/datacollector.log
time="2024-01-17T17:23:33.665Z" level=info msg="====== [controller] version:6.11.0.21858" caller="main.go:589" pid=1639
time="2024-01-17T17:23:33.666Z" level=info msg="Caps mode is DISABLED" caller="privileges.go:58" pid=1639
time="2024-01-17T17:23:33.666Z" level=info msg="Could not change permission of /var/lib/lacework/config/config.json, err = chmod /var/lib/lacework/config/config.json: read-only file system" caller="main.go:166" pid=1639
time="2024-01-17T17:23:38.668Z" level=info msg="Launched [(6.11.0.21858) /var/lib/lacework/datacollector -r=collector] -- Pid:1655 on 1705512218" caller="controller.go:385" pid=1639
time="2024-01-17T17:23:38.706Z" level=info msg="====== [collector] version:6.11.0.21858" caller="main.go:589"
abapat commented 6 months ago

Should be included in 6.12 release. I'll re-open if it doesnt