From 2648418372234115e53fd4102825971edf26037d Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 4 Mar 2024 17:44:42 +0100 Subject: [PATCH] fix(traefik): crowdsecbouncer -> bouncer fixes --- charts/enterprise/traefik/Chart.yaml | 2 +- charts/enterprise/traefik/templates/_args.tpl | 4 ++-- .../middlewares/{crowdsecBouncer.yaml => bouncer.yaml} | 2 +- charts/enterprise/traefik/values.yaml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename charts/enterprise/traefik/templates/middlewares/{crowdsecBouncer.yaml => bouncer.yaml} (98%) diff --git a/charts/enterprise/traefik/Chart.yaml b/charts/enterprise/traefik/Chart.yaml index 4afe4199a51..63fcdbdd503 100644 --- a/charts/enterprise/traefik/Chart.yaml +++ b/charts/enterprise/traefik/Chart.yaml @@ -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 diff --git a/charts/enterprise/traefik/templates/_args.tpl b/charts/enterprise/traefik/templates/_args.tpl index 28187f41985..fbd7e0ae8c2 100644 --- a/charts/enterprise/traefik/templates/_args.tpl +++ b/charts/enterprise/traefik/templates/_args.tpl @@ -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 */}} diff --git a/charts/enterprise/traefik/templates/middlewares/crowdsecBouncer.yaml b/charts/enterprise/traefik/templates/middlewares/bouncer.yaml similarity index 98% rename from charts/enterprise/traefik/templates/middlewares/crowdsecBouncer.yaml rename to charts/enterprise/traefik/templates/middlewares/bouncer.yaml index a4aefd4a0f7..e4533695f04 100644 --- a/charts/enterprise/traefik/templates/middlewares/crowdsecBouncer.yaml +++ b/charts/enterprise/traefik/templates/middlewares/bouncer.yaml @@ -1,4 +1,4 @@ -{{- range $index, $middlewareData := .Values.middlewares.crowdsecBouncer }} +{{- range $index, $middlewareData := .Values.middlewares.bouncer }} --- apiVersion: traefik.io/v1alpha1 kind: Middleware diff --git a/charts/enterprise/traefik/values.yaml b/charts/enterprise/traefik/values.yaml index a79b9b93c3d..dbae555dded 100644 --- a/charts/enterprise/traefik/values.yaml +++ b/charts/enterprise/traefik/values.yaml @@ -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