fix(traefik): crowdsecbouncer -> bouncer fixes

This commit is contained in:
Kjeld Schouten 2024-03-04 17:44:42 +01:00
parent abdf07abb2
commit 2648418372
4 changed files with 6 additions and 6 deletions

View File

@ -36,4 +36,4 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/enterprise/traefik
- https://github.com/truecharts/containers/tree/master/apps/traefik
type: application
version: 26.4.5
version: 26.4.6

View File

@ -181,8 +181,8 @@ args:
- "--experimental.localPlugins.traefik-modsecurity-plugin.modulename=github.com/acouvreur/traefik-modsecurity-plugin"
{{- end }}
{{/* CrowdsecBouncer */}}
{{- if .Values.middlewares.crowdsecBouncer }}
- "--experimental.localPlugins.crowdsec-bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
{{- if .Values.middlewares.bouncer }}
- "--experimental.localPlugins.bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
{{- end }}
{{/* End of ModSecurity */}}
{{/* RewriteResponseHeaders */}}

View File

@ -1,4 +1,4 @@
{{- range $index, $middlewareData := .Values.middlewares.crowdsecBouncer }}
{{- range $index, $middlewareData := .Values.middlewares.bouncer }}
---
apiVersion: traefik.io/v1alpha1
kind: Middleware

View File

@ -438,8 +438,8 @@ middlewares:
# modSecurityUrl: modSecurity container URL
# timeoutMillis: Configurated timeout
# maxBodySize: maxBodySize
crowdsecBouncer: []
# - name: modsecurityName
bouncer: []
# - name: bouncer
# enabled: false
# logLevel: DEBUG
# updateIntervalSeconds: 60