cspm-collector

by Sysdig

Helm chartv0.0.4App 1.1.1Verified publisher

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:

ParameterDescriptionDefault
sysdig.accessKeyYour Sysdig Access Key Either accessKey or existingAccessKeySecret is required
sysdig.existingAccessKeySecretAlternatively, specify the name of a Kubernetes secret containing an 'access-key' entry Either accessKey or existingAccessKeySecret is required
rbac.createIf true, create & use RBAC resourcestrue
serviceAccount.createCreate serviceAccounttrue
serviceAccount.nameUse this value as serviceAccountNamecspm-collector
clusterNameSet a cluster name to identify events using kubernetes.cluster.name tag
image.registryCSPM Collector image registryquay.io
image.repositoryThe image repository to pull fromsysdig/cspm-collector
image.tagThe image tag to pull1.1.1
image.digestThe image digest to pull
image.pullPolicyThe Image pull policyAlways
replicasCSPM collector deployment replicas1
namespaces.includedNamespaces to include in the CSPM collector scans, when empty scans all``
namespaces.excludedNamespaces to exclude in the CSPM collector scans``
workloads.includedWorkloads to include in the CSPM collector scans, when empty scans all``
workloads.excludedWorkloads to exclude in the CSPM collector scans, when empty scans all``
healthIntervalMinMinutes interval for CSPM collector health status messages5
resources.requests.cpuCSPM collector CPU requests150m
resources.requests.memoryCSPM collector Memory requests256Mi
resources.limits.cpuCSPM collector CPU limits500m
resources.limits.memoryCSPM collector Memory limits1536Mi

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcspm-collector is pinned at v0.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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