diff --git a/index.yaml b/index.yaml index 0387a8f..e0e8704 100644 --- a/index.yaml +++ b/index.yaml @@ -1,6 +1,38 @@ apiVersion: v1 entries: crowdsec: + - apiVersion: v2 + appVersion: v1.6.2 + created: "2024-08-28T12:38:47.580906378Z" + description: 'Crowdsec helm chart is an open-source, lightweight agent to detect + and respond to bad behaviours. ## Get Repo Info ``` helm repo add crowdsec + https://crowdsecurity.github.io/helm-charts helm repo update ``` ## Installing + the Chart Before installing the chart, you need to understand some [concepts](https://docs.crowdsec.net/docs/concepts) + of Crowdsec. So you can configure well the chart and being able to parse logs + and detect attacks inside your Kubernetes cluster. Here is a [blog post](https://crowdsec.net/blog/kubernetes-crowdsec-integration/) + about crowdsec in kubernetes. ``` # Create namespace for crowdsec kubectl create + ns crowdsec # Install helm chart with proper values.yaml config helm install + crowdsec crowdsec/crowdsec -f crowdsec-values.yaml -n crowdsec ``` ## Uninstalling + the Chart ``` helm delete crowdsec -n crowdsec ``` ## Setup for High Availability Below + a basic configuration for High availability ``` # your-values.yaml # Configure + external DB (https://docs.crowdsec.net/docs/configuration/crowdsec_configuration/#configuration-example) + config: config.yaml.local: | db_config: type: postgresql user: crowdsec password: + ${DB_PASSWORD} db_name: crowdsec host: 192.168.0.2 port: 5432 sslmode: require lapi: # + 2 or more replicas for HA replicas: 2 # You can specify your own CS_LAPI_SECRET, + or let the chart generate one. Length must be >= 64 secrets: csLapiSecret: + # Specify your external DB password here extraSecrets: dbPassword: + persistentVolume: # When replicas for LAPI is greater + than 1, two options, persistent volumes must be disabled, or in ReadWriteMany + mode config: enabled: false # data volume is not required, since + SQLite isn''t used data: enabled: false # DB Password passed through + environment variable env: - name: DB_PASSWORD valueFrom: secretKeyRef: name: + crowdsec-lapi-secrets key: dbPassword ``` ' + digest: 50566e3cd90d1f94c9984ee7e8b4e6d5bd7d0262c9a02441dd1d045590b85e03 + name: crowdsec + type: application + urls: + - https://github.com/erwanval/crowdsec-helm-charts/releases/download/crowdsec-0.11.2/crowdsec-0.11.2.tgz + version: 0.11.2 - apiVersion: v2 appVersion: v1.6.2 created: "2024-08-28T10:45:30.636219588Z" @@ -876,4 +908,4 @@ entries: urls: - https://github.com/crowdsecurity/helm-charts/releases/download/helloworld-0.1.0/helloworld-0.1.0.tgz version: 0.1.0 -generated: "2024-08-28T10:45:30.744872259Z" +generated: "2024-08-28T12:38:47.581243282Z"