Enable context using helm
In the documentation is says to check and enable using
And check status with
With output:
The problem is i cant run any command since:
And im guessing i have to enable the contexts in the values.yaml using the console.yaml file?
Contextualize Alerts | CrowdSec
Introduction
8 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve
© Created By WhyAydan for CrowdSec ❤️
which pod type was you executing this from LAPI or Agent? as LAPI are sole owner of these credentials
however, we are currently working on making this experience better in kubernetes
if it helps I was just informed about this
config
key which allows you to mount the value directly
https://github.com/crowdsecurity/helm-charts/blob/fe60c6df8b19d3a4a08ed605956c5913625c6dfc/charts/crowdsec/README.md?plain=1#L356
(which I realise now is what you said at the bottom of your initial text so yes this is the best way currently)From the crowdsec-lapi container
I'll try this. thanks!
hmmm, thanks for the headsup on this we will investigate but for now you have the other way
Added this, and running a cat on the console.yaml file proves its there:
But running
Still gives the same:
With that said, It seems i did not need to enable anything else for the context i wanted, which was the target_uri, just got this notification and seems to work

however,
cscli lapi context status
is per deployment so if you run those on the agent
nodes you will see different contextsAh yes, you're right. This is one of the agents:
Resolving Enable context using helm
This has now been resolved. If you think this is a mistake please run
/unresolve