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/charts/tree/master/charts/enterprise/traefik
- https://github.com/truecharts/containers/tree/master/apps/traefik - https://github.com/truecharts/containers/tree/master/apps/traefik
type: application 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" - "--experimental.localPlugins.traefik-modsecurity-plugin.modulename=github.com/acouvreur/traefik-modsecurity-plugin"
{{- end }} {{- end }}
{{/* CrowdsecBouncer */}} {{/* CrowdsecBouncer */}}
{{- if .Values.middlewares.crowdsecBouncer }} {{- if .Values.middlewares.bouncer }}
- "--experimental.localPlugins.crowdsec-bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin" - "--experimental.localPlugins.bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
{{- end }} {{- end }}
{{/* End of ModSecurity */}} {{/* End of ModSecurity */}}
{{/* RewriteResponseHeaders */}} {{/* RewriteResponseHeaders */}}

View File

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

View File

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