Skip to content

Commit 6df1ffb

Browse files
committed
more details
1 parent cc7de79 commit 6df1ffb

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

crowdsec-docs/unversioned/bouncers/ingress-nginx.mdx

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The Ingress nginx controller should be installed using the [official helm chart]
5353

5454
### Using Helm
5555

56-
First you need to create new ingress-nginx chart values file (`crowdsec-ingress-bouncer.yaml`) to upgrade the ingress controller with the crowdsec plugin.
56+
First you need to create new ingress-nginx chart values file (`crowdsec-ingress-values.yaml`) to upgrade the ingress controller with the crowdsec plugin.
5757

5858
:::warning
5959

@@ -124,15 +124,35 @@ controller:
124124
resolver local=on ipv6=off;
125125
```
126126
127-
This values upgrade your ingress deployment to add crowdsec lua lib as a plugin and run with the ingress controller.
128-
It used [this docker image](https://hub.docker.com/r/crowdsecurity/lua-bouncer-plugin) to copy the crowdsec lua library.
127+
<details>
128+
<summary>You already have a deployed ingress nginx</summary>
129129
130-
Once you have this patch we can upgrade the ingress-nginx chart.
130+
This values.yaml upgrade your ingress deployment to add crowdsec lua lib as a
131+
plugin and run with the crowdsec maintained nginx ingress controller with lua
132+
support. It uses [this docker
133+
image](https://hub.docker.com/r/crowdsecurity/lua-bouncer-plugin) to copy the
134+
crowdsec lua library. You can upgrade the ingress-nginx using this `crowdsec-ingress-values.yaml`
131135

132136
```bash
133-
helm -n ingress-nginx upgrade -f ingress-nginx-values.yaml -f crowdsec-ingress-bouncer.yaml ingress-nginx ingress-nginx
137+
helm -n ingress-nginx upgrade -f ingress-nginx-values.yaml -f crowdsec-ingress-values.yaml ingress-nginx/ingress-nginx
134138
```
135139

140+
</details>
141+
142+
<details>
143+
<summary>You don't have a deployed ingress nginx</summary>
144+
145+
This values.yaml install your ingress deployment to add crowdsec lua lib as a
146+
plugin and run with the crowdsec maintained nginx ingress controller with lua
147+
support. It uses [this docker
148+
image](https://hub.docker.com/r/crowdsecurity/lua-bouncer-plugin) to copy the
149+
crowdsec lua library. You can install the ingress-nginx using this `crowdsec-ingress-values.yaml`
150+
151+
```bash
152+
helm -n ingress-nginx install -f crowdsec-ingress-values.yaml ingress-nginx ingress-nginx/ingress-nginx
153+
```
154+
</details>
155+
136156
And then check if the ingress controller is running well.
137157

138158
```bash

0 commit comments

Comments
 (0)