cspm-collector
by Sysdig
Sysdig CSPM collector
About this chart
CSPM Collector
This chart deploys the Sysdig CSPM Collector as a deployment in your Kubernetes cluster.
Installing the Chart
Add Sysdig Helm charts repository:
$ helm repo add sysdig https://charts.sysdig.com
Deploy the cspm collector
$ helm install --create-namespace -n cspm-collector cspm-collector -f values.yaml sysdig/cspm-collector
Configuration
The following table lists the configurable parameters of the Sysdig CSPM Collector chart and their default values:
| Parameter | Description | Default |
|---|---|---|
sysdig.accessKey | Your Sysdig Access Key | Either accessKey or existingAccessKeySecret is required |
sysdig.existingAccessKeySecret | Alternatively, specify the name of a Kubernetes secret containing an 'access-key' entry | Either accessKey or existingAccessKeySecret is required |
rbac.create | If true, create & use RBAC resources | true |
serviceAccount.create | Create serviceAccount | true |
serviceAccount.name | Use this value as serviceAccountName | cspm-collector |
clusterName | Set a cluster name to identify events using kubernetes.cluster.name tag | |
image.registry | CSPM Collector image registry | quay.io |
image.repository | The image repository to pull from | sysdig/cspm-collector |
image.tag | The image tag to pull | 1.1.1 |
image.digest | The image digest to pull | |
image.pullPolicy | The Image pull policy | Always |
replicas | CSPM collector deployment replicas | 1 |
namespaces.included | Namespaces to include in the CSPM collector scans, when empty scans all | `` |
namespaces.excluded | Namespaces to exclude in the CSPM collector scans | `` |
workloads.included | Workloads to include in the CSPM collector scans, when empty scans all | `` |
workloads.excluded | Workloads to exclude in the CSPM collector scans, when empty scans all | `` |
healthIntervalMin | Minutes interval for CSPM collector health status messages | 5 |
resources.requests.cpu | CSPM collector CPU requests | 150m |
resources.requests.memory | CSPM collector Memory requests | 256Mi |
resources.limits.cpu | CSPM collector CPU limits | 500m |
resources.limits.memory | CSPM collector Memory limits | 1536Mi |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
$ helm install --namespace cspmcollector cspm-collector \
--set sysdig.accessKey=YOUR-KEY-HERE, \
sysdig/cspm-collector
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install --namespace cspmcollector cspm-collector -f values.yaml sysdig/cspm-collector
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install my-release-name -f values.yaml sysdig/cspm-collector
Deploy cspm-collector with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cspm-collector on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcspm-collector is pinned at v0.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply