Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions crowdsec-docs/docs/configuration/values_parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,35 @@ lapi:
name: database-secret
key: DB_PASSWORD

# persistentVolume in kubernetes for CrowdSec data and configuration is now
# discouraged 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
# a clean and centralized configuration while enabling developers
# 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
Expand All @@ -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
Expand Down
Loading