From 206ce2df8bb3bca9bf817a5b1c82bbdcaf213f35 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 4 Mar 2024 16:18:28 +0100 Subject: [PATCH] fix(traefik): make crowdsecbouncer not error out --- charts/enterprise/traefik/Chart.yaml | 2 +- .../middlewares/crowdsecBouncer.yaml | 120 +++++++++--------- 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/charts/enterprise/traefik/Chart.yaml b/charts/enterprise/traefik/Chart.yaml index c83428d17c6..3b40b2357d6 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.2 +version: 26.4.3 diff --git a/charts/enterprise/traefik/templates/middlewares/crowdsecBouncer.yaml b/charts/enterprise/traefik/templates/middlewares/crowdsecBouncer.yaml index 7e8dc4a7b3d..b4cc0ea2c31 100644 --- a/charts/enterprise/traefik/templates/middlewares/crowdsecBouncer.yaml +++ b/charts/enterprise/traefik/templates/middlewares/crowdsecBouncer.yaml @@ -8,105 +8,105 @@ metadata: spec: plugin: bouncer: - {{- with $middlewareData.enabled -}} + {{ with $middlewareData.enabled -}} enabled: {{ . }} - {{- end -}} - {{- with $middlewareData.logLevel -}} + {{- end }} + {{ with $middlewareData.logLevel -}} logLevel: {{ . }} - {{- end -}} - {{- with $middlewareData.updateIntervalSeconds -}} + {{- end }} + {{ with $middlewareData.updateIntervalSeconds -}} updateIntervalSeconds: {{ . }} - {{- end -}} - {{- with $middlewareData.defaultDecisionSeconds -}} + {{- end }} + {{ with $middlewareData.defaultDecisionSeconds -}} defaultDecisionSeconds: {{ . }} - {{- end -}} - {{- with $middlewareData.httpTimeoutSeconds -}} + {{- end }} + {{ with $middlewareData.httpTimeoutSeconds -}} httpTimeoutSeconds: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecMode -}} + {{- end }} + {{ with $middlewareData.crowdsecMode -}} crowdsecMode: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecAppsecEnabled -}} + {{- end }} + {{ with $middlewareData.crowdsecAppsecEnabled -}} crowdsecAppsecEnabled: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecAppsecHost -}} + {{- end }} + {{ with $middlewareData.crowdsecAppsecHost -}} crowdsecAppsecHost: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecAppsecFailureBlock -}} + {{- end }} + {{ with $middlewareData.crowdsecAppsecFailureBlock -}} crowdsecAppsecFailureBlock: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiKey -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiKey -}} crowdsecLapiKey: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiKeyFile -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiKeyFile -}} crowdsecLapiKeyFile: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiHost -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiHost -}} crowdsecLapiHost: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiScheme -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiScheme -}} crowdsecLapiScheme: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiTLSInsecureVerify -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiTLSInsecureVerify -}} crowdsecLapiTLSInsecureVerify: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecCapiMachineId -}} + {{- end }} + {{ with $middlewareData.crowdsecCapiMachineId -}} crowdsecCapiMachineId: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecCapiPassword -}} + {{- end }} + {{ with $middlewareData.crowdsecCapiPassword -}} crowdsecCapiPassword: {{ . }} - {{- end -}} + {{- end }} {{- if $middlewareData.crowdsecCapiScenarios -}} crowdsecCapiScenarios: {{- range $middlewareData.crowdsecCapiScenarios -}} - {{ . }} - {{- end -}} - {{- end -}} + {{- end }} + {{- end }} {{- if $middlewareData.forwardedHeadersTrustedIPs -}} forwardedHeadersTrustedIPs: {{- range $middlewareData.forwardedHeadersTrustedIPs -}} - {{ . }} - {{- end -}} - {{- end -}} + {{- end }} + {{- end }} {{- if $middlewareData.clientTrustedIPs -}} clientTrustedIPs: {{- range $middlewareData.clientTrustedIPs -}} - {{ . }} - {{- end -}} - {{- end -}} - {{- with $middlewareData.forwardedHeadersCustomName -}} + {{- end }} + {{- end }} + {{ with $middlewareData.forwardedHeadersCustomName -}} forwardedHeadersCustomName: {{ . }} - {{- end -}} - {{- with $middlewareData.redisCacheEnabled -}} + {{- end }} + {{ with $middlewareData.redisCacheEnabled -}} redisCacheEnabled: {{ . }} - {{- end -}} - {{- with $middlewareData.redisCacheHost -}} + {{- end }} + {{ with $middlewareData.redisCacheHost -}} redisCacheHost: {{ . }} - {{- end -}} - {{- with $middlewareData.redisCachePassword -}} + {{- end }} + {{ with $middlewareData.redisCachePassword -}} redisCachePassword: {{ . }} - {{- end -}} - {{- with $middlewareData.redisCacheDatabase -}} + {{- end }} + {{ with $middlewareData.redisCacheDatabase -}} redisCacheDatabase: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiTLSCertificateAuthority -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiTLSCertificateAuthority -}} crowdsecLapiTLSCertificateAuthority: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiTLSCertificateAuthorityFile -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiTLSCertificateAuthorityFile -}} crowdsecLapiTLSCertificateAuthorityFile: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiTLSCertificateBouncer -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiTLSCertificateBouncer -}} crowdsecLapiTLSCertificateBouncer: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiTLSCertificateBouncerFile -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiTLSCertificateBouncerFile -}} crowdsecLapiTLSCertificateBouncerFile: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKey -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiTLSCertificateBouncerKey -}} crowdsecLapiTLSCertificateBouncerKey: {{ . }} - {{- end -}} - {{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKeyFile -}} + {{- end }} + {{ with $middlewareData.crowdsecLapiTLSCertificateBouncerKeyFile -}} crowdsecLapiTLSCertificateBouncerKeyFile: {{ . }} - {{- end -}} + {{- end }} {{- end -}}