diff --git a/traefik/templates/_podtemplate.tpl b/traefik/templates/_podtemplate.tpl index ba7dc2bc0..6dae66851 100644 --- a/traefik/templates/_podtemplate.tpl +++ b/traefik/templates/_podtemplate.tpl @@ -599,7 +599,7 @@ {{- if (semverCompare "<3.1.3-0" $version) }} {{- fail "ERROR: allowACMEByPass has been introduced with Traefik v3.1.3+" -}} {{- end }} - - "--entryPoints.name.allowACMEByPass=true" + - "--entryPoints.{{ $entrypoint }}.allowACMEByPass=true" {{- end }} {{- if $config.forwardedHeaders }} {{- if $config.forwardedHeaders.trustedIPs }} diff --git a/traefik/tests/traefik-config_test.yaml b/traefik/tests/traefik-config_test.yaml index 24f43106f..77f1ab9cc 100644 --- a/traefik/tests/traefik-config_test.yaml +++ b/traefik/tests/traefik-config_test.yaml @@ -687,7 +687,7 @@ tests: asserts: - contains: path: spec.template.spec.containers[0].args - content: "--entryPoints.name.allowACMEByPass=true" + content: "--entryPoints.websecure.allowACMEByPass=true" - it: should fail when setting ACME bypass with Proxy v3.1.0 set: image: