Skip to content

Commit b55dbcc

Browse files
committed
small improvements
1 parent 6e85a0f commit b55dbcc

1 file changed

Lines changed: 23 additions & 4 deletions

File tree

crowdsec-docs/docs/appsec/quickstart/traefik.mdx

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,20 @@ appsec:
133133
Please note the spaces between the collection names (hence why the double quotes are needed).
134134
:::
135135

136-
Now you can apply it with:
136+
:::note
137+
If your `values.yaml` does not already configure the CrowdSec **agent** (via `agent.acquisition` or `agent.additionalAcquisition`), you must explicitly disable it — otherwise the Helm chart will fail with `No acquisition or additionalAcquisition configured`:
138+
139+
```yaml
140+
agent:
141+
enabled: false
137142
```
138-
helm upgrade crowdsec crowdsec/crowdsec -n crowdsec --create-namespace -f ./crowdsec-values.yaml
143+
144+
If you are running a full CrowdSec stack (agent + LAPI + AppSec), configure `agent.acquisition` with your actual log sources instead.
145+
:::
146+
147+
Now you can apply it with:
148+
```bash
149+
helm upgrade --install crowdsec crowdsec/crowdsec -n crowdsec --create-namespace -f ./crowdsec-values.yaml
139150
```
140151

141152
This `values.yaml` modification adds the required Hub configuration items.
@@ -255,9 +266,12 @@ The previous compose commands presume the container is named `crowdsec`. If you
255266

256267
</TabItem>
257268
<TabItem value="kubernetes">
258-
With kubernetes the acquisition setup is twofolds:
259-
We have to add
269+
With Kubernetes the acquisition setup is done via `values.yaml`.
270+
Add the following to your CrowdSec `values.yaml`:
271+
260272
```yaml title="values.yaml"
273+
agent:
274+
enabled: false # required if you have no agent.acquisition configured; replace with your log sources for a full stack
261275
appsec:
262276
acquisitions:
263277
- appsec_configs:
@@ -270,6 +284,11 @@ appsec:
270284
enabled: true
271285
```
272286

287+
Then apply with:
288+
289+
```bash
290+
helm upgrade --install crowdsec crowdsec/crowdsec -n crowdsec --create-namespace -f ./crowdsec-values.yaml
291+
```
273292

274293
</TabItem>
275294
</Tabs>

0 commit comments

Comments
 (0)