Skip to content

Commit 061ddf7

Browse files
committed
upgrade titles
1 parent 29ad9d8 commit 061ddf7

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

crowdsec-docs/docs/appsec/quickstart/nginx-ingress.mdx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ values below). Note that the standard upstream controller removed Lua support in
4040
version 1.12.
4141
:::
4242

43-
## Step 1 – Deploy CrowdSec with AppSec enabled
43+
## Deploy CrowdSec with AppSec enabled
4444

45-
1. Add or update the CrowdSec Helm repository:
45+
### Add or update the CrowdSec Helm repository:
4646

4747
```bash
4848
helm repo add crowdsec https://crowdsecurity.github.io/helm-charts
@@ -53,7 +53,7 @@ helm repo update
5353
If CrowdSec is already deployed with Helm in this cluster, the repository entry is already present—you only need `helm repo update`.
5454
:::
5555

56-
2. Add this to the CrowdSec `values.yaml` with the AppSec configuration:
56+
### Add this to the CrowdSec `values.yaml` with the AppSec configuration:
5757

5858
```yaml title="values.yaml"
5959
appsec
@@ -76,21 +76,21 @@ This yaml configuration snippet exposes those important configuration items:
7676
* The chart bootstraps a bouncer named `nginx_ingress_waf` using the key you export locally.
7777

7878

79-
3. Upgrade the CrowdSec release:
79+
### Upgrade the CrowdSec release:
8080

8181
```bash
8282
helm upgrade --install crowdsec crowdsec/crowdsec --namespace crowdsec --create-namespace -f crowdsec-appsec-values.yaml
8383
```
8484

85-
4. Confirm the pods are healthy:
85+
### Confirm the pods are healthy:
8686

8787
```bash
8888
kubectl -n crowdsec get pods
8989
```
9090

9191
You should see both the `crowdsec` pod and the `crowdsec-appsec` pod in `Running` state.
9292

93-
## Step 2 – Enable the CrowdSec Lua plugin on NGINX Ingress
93+
## Enable the CrowdSec Lua plugin on NGINX Ingress
9494

9595
Create `ingress-values.yaml` is still defined) to extend the ingress controller with the CrowdSec plugin and point it to the AppSec API:
9696

@@ -147,7 +147,8 @@ controller:
147147
server-snippet: |
148148
lua_ssl_trusted_certificate "/etc/ssl/certs/ca-certificates.crt"
149149
resolver local=on ipv6=off;
150-
```
150+
```
151+
151152

152153
- `API_URL` targets the Local API service exposed by the Helm chart.
153154
- `API_KEY` defines the key for the bouncer to be able to connect to CrowdSec LAPI

0 commit comments

Comments
 (0)