Skip to content

Commit 23c06f0

Browse files
committed
change int and bool to string in helm example
1 parent 31cae72 commit 23c06f0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,23 @@ controller:
7676
- name: SITE_KEY
7777
value: "<your-captcha-site-key>" # If you want captcha support otherwise remove this ENV VAR
7878
- name: BAN_TEMPLATE_PATH
79-
value: /etc/nginx/lua/plugins/crowdsec/templates/ban.html
79+
value: "/etc/nginx/lua/plugins/crowdsec/templates/ban.html"
8080
- name: CAPTCHA_TEMPLATE_PATH
81-
value: /etc/nginx/lua/plugins/crowdsec/templates/captcha.html
81+
value: "/etc/nginx/lua/plugins/crowdsec/templates/captcha.html"
8282
## Appsec configuration, optional.
8383
## Remove this section if not using appsec
8484
- name: APPSEC_URL
8585
value: "http://crowdsec-appsec-service.crowdsec.svc.cluster.local:7422" # if using our helm chart with "crowdsec" release name, and running the appsec in the "crowdsec" namespace
8686
- name: APPSEC_FAILURE_ACTION
87-
value: passthrough # What to do if the appsec is down, optional
87+
value: "passthrough" # What to do if the appsec is down, optional
8888
- name: APPSEC_CONNECT_TIMEOUT # connection timeout to the appsec, in ms, optionial
89-
value: 100
89+
value: "100"
9090
- name: APPSEC_SEND_TIMEOUT # write timeout to the appsec, in ms, optional
91-
value: 100
91+
value: "100"
9292
- name: APPSEC_PROCESS_TIMEOUT # max processing duration of the request, in ms, optional
93-
value: 1000
93+
value: "1000"
9494
- name: ALWAYS_SEND_TO_APPSEC
95-
value: false # always send requests to the appsec, even if there's a decision against the IP, optional
95+
value: "false" # always send requests to the appsec, even if there's a decision against the IP, optional
9696
command: ['sh', '-c', "sh /docker_start.sh; mkdir -p /lua_plugins/crowdsec/; cp -R /crowdsec/* /lua_plugins/crowdsec/"]
9797
volumeMounts:
9898
- name: crowdsec-bouncer-plugin

0 commit comments

Comments
 (0)