From 10f7f7f27063c767c98e24e5c295cf2bf7dd1375 Mon Sep 17 00:00:00 2001 From: sabban Date: Thu, 5 Feb 2026 17:20:53 +0100 Subject: [PATCH 1/3] fix docuemntation --- .../docs/configuration/values_parameters.md | 32 +++++++++++++------ 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/crowdsec-docs/docs/configuration/values_parameters.md b/crowdsec-docs/docs/configuration/values_parameters.md index ffafd3999..c621bdcf9 100644 --- a/crowdsec-docs/docs/configuration/values_parameters.md +++ b/crowdsec-docs/docs/configuration/values_parameters.md @@ -120,6 +120,15 @@ lapi: name: database-secret key: DB_PASSWORD + # persistentVolume in kubernetes for CrowdSec data and configuration is now + # discouragfe in favor of a database and direct configuration through + # values + persistentVolume: + data: + enabled: false + config: + enabled: false + # The following piece configuration under config.config.yaml.local is merged # alongside the current conbfiguration. This mechanism allows # environment-specific overrides. This approach helps maintain @@ -127,7 +136,19 @@ lapi: # to customize their local settings without modifying the primary # configuration files in pods with complex volumes and mount points. - config.config.yaml.local: +config: + config.yaml.local: + # This is needed for agent autoregistration + api: + server: + auto_registration: # Activate if not using TLS for authentication + enabled: true + token: "${REGISTRATION_TOKEN}" # /!\ Do not modify this variable (auto-generated and handled by the chart) + allowed_ranges: # /!\ Make sure to adapt to the pod IP ranges used by your cluster + - "127.0.0.1/32" + - "192.168.0.0/16" + - "10.0.0.0/8" + - "172.16.0.0/12" # Using a database is strongly encouraged. db_config: type: postgresql @@ -140,15 +161,6 @@ lapi: api_key: 1h agents_autodelete: login_password: 1h - - # persistentVolume in kubernetes for CrowdSec data and configuration is now - # discouragfe in favor of a database and direct configuration through - # values - persistentVolume: - data: - enabled: false - config: - enabled: false ``` # Values parameters reference From 2c8c2836b7fa556851e299d3dd3ad441d8416d15 Mon Sep 17 00:00:00 2001 From: sabban Date: Thu, 5 Feb 2026 17:23:44 +0100 Subject: [PATCH 2/3] better with the | thx @blotus --- crowdsec-docs/docs/configuration/values_parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crowdsec-docs/docs/configuration/values_parameters.md b/crowdsec-docs/docs/configuration/values_parameters.md index c621bdcf9..709876a43 100644 --- a/crowdsec-docs/docs/configuration/values_parameters.md +++ b/crowdsec-docs/docs/configuration/values_parameters.md @@ -137,7 +137,7 @@ lapi: # configuration files in pods with complex volumes and mount points. config: - config.yaml.local: + config.yaml.local: | # This is needed for agent autoregistration api: server: From 68b459bf4acae8db3ad7aead96b192b3897bf1f2 Mon Sep 17 00:00:00 2001 From: sabban Date: Thu, 5 Feb 2026 17:44:42 +0100 Subject: [PATCH 3/3] typo fix --- crowdsec-docs/docs/configuration/values_parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crowdsec-docs/docs/configuration/values_parameters.md b/crowdsec-docs/docs/configuration/values_parameters.md index 709876a43..dded07aee 100644 --- a/crowdsec-docs/docs/configuration/values_parameters.md +++ b/crowdsec-docs/docs/configuration/values_parameters.md @@ -121,7 +121,7 @@ lapi: key: DB_PASSWORD # persistentVolume in kubernetes for CrowdSec data and configuration is now - # discouragfe in favor of a database and direct configuration through + # discouraged in favor of a database and direct configuration through # values persistentVolume: data: