Closed Dudoleitor closed 1 year ago
The reason it doesn't work because we haven't done a release since the feature was introduced. So to use this you would have to build the image from source within the repository or wait til we do a release which is overdue anyways.
Update: I didn't realise there is a RC so you can update your image to use
crowdsecurity/cloudflare-bouncer:v0.3.0-rc1
as the version to get configuration merge
Understood, thanks for the quick response
Hi, I was recently cleaning up my crowdsec configs and I noticed an unexpected behaviour. I'm running the bouncer inside kubernetes using the image crowdsecurity/cloudflare-bouncer:latest and I can't read a configuration parameter from an environment variable. In the file
/etc/crowdsec/bouncers/crowdsec-cloudflare-bouncer.yaml
I setconfig_lapi_key
to${API_KEY}
and I flled the env API_KEY with the proper value, but the container crashes immediately with an authentication error in the logs.I tried setting
config_lapi_url
to${API_URL}
and this is what the log outputsI tried to exec into the container and with echo I see that the environment variable is correctly set. By manually entering configurations in the file everything works.
Is there something I'm doing wrong? Can I be of more help to troubleshoot this issue?