Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lacework-agent/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: lacework-config
namespace: {{ .Release.Namespace }}
namespace: {{ .Release.Namespace }}
labels:
tier: monitoring
app: {{ include "lacework-agent.name" . }}
Expand Down Expand Up @@ -40,7 +40,7 @@ data:
{{- if .Values.clusterAgent.clusterType }}
"k8sclustertype": "{{ .Values.clusterAgent.clusterType}}",
{{- end }}

{{- if not .Values.laceworkConfig.kubernetesCluster }}
#kubernetes cluster "{{ required "kubernetesCluster name is a required parameter" .Values.laceworkConfig.kubernetesCluster }}
{{- end}}
Expand All @@ -59,6 +59,9 @@ data:
"serverurl": "{{ .Values.laceworkConfig.serverUrl}}",
"tags": {"Env": "{{ .Values.laceworkConfig.env }}"
{{- if .Values.laceworkConfig.kubernetesCluster }}, "KubernetesCluster" :"{{ .Values.laceworkConfig.kubernetesCluster}}" {{- end }}
{{- range $key, $value := .Values.laceworkConfig.tags }}
, {{ $key | quote }}: {{ $value | quote }}
{{- end }}
}
}

Expand Down
2 changes: 1 addition & 1 deletion lacework-agent/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
spec:
affinity:
{{ toYaml .Values.daemonset.affinity | indent 8 }}
tolerations:
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
Expand Down
6 changes: 6 additions & 0 deletions lacework-agent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,12 @@
"null"
]
},
"tags": {
"type": [
"object",
"null"
]
},
"fim": {
"type": "object",
"additionalProperties": false,
Expand Down
6 changes: 6 additions & 0 deletions lacework-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ laceworkConfig:
# [Optional] Give your k8s environment a friendly name
# https://docs.lacework.com/onboarding/add-agent-tags
env:
# [Optional] Assign additional tags to lacework-agent deployed by this chart
# https://docs.lacework.com/onboarding/add-agent-tags
# Declare as subkeys not as a list of tags
tags:
# example_tag_name_1: example_tag_value1
# example_tag_name_2: example_tag_value2
# [Optional] Set to "disable" to not run datacollector
datacollector: enable
# [Optional] Kubernetes node's scrape interval in minutes.
Expand Down