File tree Expand file tree Collapse file tree 8 files changed +182
-135
lines changed
Expand file tree Collapse file tree 8 files changed +182
-135
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ maintainers:
1414- email : info@lacework.net
1515 name : lacework-support
1616name : lacework-agent
17- version : 6.11 .0
17+ version : 6.12 .0
Original file line number Diff line number Diff line change 4242{{ toYaml .Values.clusterAgent.image.imagePullSecrets | indent 8 }}
4343{{- end }}
4444 terminationGracePeriodSeconds : 20
45+ {{- if .Values.clusterAgent.hostNetworkAccess }}
46+ hostNetwork : true
47+ dnsPolicy : ClusterFirstWithHostNet
48+ {{- end }}
4549 securityContext :
4650 runAsNonRoot : true
4751 runAsUser : 5001
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ metadata:
1616 {{- end }}
1717data :
1818 config.yaml : |
19+ {{- if .Values.laceworkConfig.proxyUrl }}
20+ proxyurl: {{ .Values.laceworkConfig.proxyUrl}}
21+ {{- end }}
1922 serverurl: {{ .Values.laceworkConfig.serverUrl}}
2023{{- if or (kindIs "int64" .Values.clusterAgent.scrapeInitialDelayMins) (kindIs "float64" .Values.clusterAgent.scrapeInitialDelayMins) }}
2124 initialdelaymins : {{ .Values.clusterAgent.scrapeInitialDelayMins }}
Original file line number Diff line number Diff line change @@ -37,13 +37,17 @@ data:
3737 {{- end }}
3838 {{- end }}
3939 {{- with .Values.laceworkConfig.codeaware }}
40- {{- if or (eq (toString .enable) "true") (eq (toString .enable) "all") }}
40+ {{- if or (eq (quote .enable) "true") (eq (quote .enable) "all") }}
4141 "codeaware": {
4242 "enable": "all"
4343 },
44- {{- else if or (eq (toString .enable) "experimental") (eq (toString .enable) "false ") }}
44+ {{- else if (eq (quote .enable) "experimental") }}
4545 "codeaware": {
46- "enable": {{ quote .enable }}
46+ "enable": "experimental"
47+ },
48+ {{- else if (eq (quote .enable) "false") }}
49+ "codeaware": {
50+ "enable": "false"
4751 },
4852 {{- end }}
4953 {{- end }}
Original file line number Diff line number Diff line change 231231 " null"
232232 ],
233233 "description" : " Cluster mode agent's scrape interval in minutes"
234+ },
235+ "proxyUrl" : {
236+ "type" : [
237+ " string" ,
238+ " null"
239+ ],
240+ "description" : " Proxy URL for the cluster collector"
241+ },
242+ "hostNetworkAccess" : {
243+ "type" : " boolean" ,
244+ "description" : " Enable host network access to the cluster collector pod"
234245 }
235246 },
236247 "additionalProperties" : false
Original file line number Diff line number Diff line change 22image :
33 registry : docker.io
44 repository : lacework/datacollector
5- tag : 6.11 .0
5+ tag : 6.12 .0
66 # imagePullPolicy should be Always to get the latest container
77 # http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
88 pullPolicy : Always
@@ -33,10 +33,14 @@ clusterAgent:
3333 scrapeInitialDelayMins :
3434 # [Optional] Cluster mode agent's scrape interval in minutes.
3535 scrapeIntervalMins :
36+ # [Optional] Route agent traffic through the specified proxy.
37+ # https://docs.lacework.net/onboarding/restricted/configure-agent-behavior-in-configjson-file#proxyurl-propert
38+ proxyUrl :
39+ hostNetworkAccess : false
3640 image :
3741 registry : docker.io
3842 repository : lacework/k8scollector
39- tag : 6.11 .0
43+ tag : 6.12 .0
4044 # imagePullPolicy should be Always to get the latest container
4145 # http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
4246 pullPolicy : Always
@@ -72,7 +76,7 @@ laceworkConfig:
7276 # [Optional] Enable Active Vulnerability Detection
7377 # https://docs.lacework.net/onboarding/configure-agent-behavior-in-configjson-file#codeaware-property
7478 codeaware :
75- enable :
79+ enable : false
7680 # [Optional] Define the endpoint that the agent uses to discover containers
7781 containerEngineEndpoint :
7882 # [Optional] Define the runtime that the agent uses to discover containers
You can’t perform that action at this time.
0 commit comments