-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
kind/documentationImprovements or additions to documentationImprovements or additions to documentationneeds/triageNeeds triageNeeds triage
Description
In this doc and example for ha config, the dbPassword is specified in multiple places.
The first extra secret, why is it needed when the last two are specified?
Here:
lapi:
replicas: 2
extraSecrets:
dbPassword: "secretpassword"
Here:
env:
- name: DB_PASSWORD
valueFrom:
And here
config:
config.yaml.local: |
db_config:
type: mysql
user: crowdsec
password: ${DB_PASSWORD}
If the DB password is in a secret, wouldn't it be better to configure the extraSecrets.dbPassword as a proper secret too? Writing passwords in plain text hurts my brain.
Metadata
Metadata
Assignees
Labels
kind/documentationImprovements or additions to documentationImprovements or additions to documentationneeds/triageNeeds triageNeeds triage