Skip to content

Commit

Permalink
Update index.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: blotus <[email protected]>
  • Loading branch information
blotus committed Sep 23, 2024
1 parent 48a08aa commit d503b94
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,38 @@
apiVersion: v1
entries:
crowdsec:
- apiVersion: v2
appVersion: v1.6.3
created: "2024-09-23T12:58:45.612802033Z"
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:
<anyRandomSecret> # Specify your external DB password here extraSecrets: dbPassword:
<externalDbPassword> 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: 0248972039d896bd84ed8822a5b429defcb3ab816f48bb54ee74859433f5777e
name: crowdsec
type: application
urls:
- https://github.com/crowdsecurity/helm-charts/releases/download/crowdsec-0.13.0/crowdsec-0.13.0.tgz
version: 0.13.0
- apiVersion: v2
appVersion: v1.6.2
created: "2024-09-03T10:06:08.134690102Z"
Expand Down Expand Up @@ -760,4 +792,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-09-03T10:06:08.251240597Z"
generated: "2024-09-23T12:58:45.613167618Z"

0 comments on commit d503b94

Please sign in to comment.