providers/proxy: update traefik regex
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> #1969
This commit is contained in:
parent
dfbf7027bc
commit
92b4244e81
|
@ -169,7 +169,7 @@ class DockerController(BaseController):
|
||||||
# Check if the container is out of date, delete it and retry
|
# Check if the container is out of date, delete it and retry
|
||||||
if len(container.image.tags) > 0:
|
if len(container.image.tags) > 0:
|
||||||
should_image = self.try_pull_image()
|
should_image = self.try_pull_image()
|
||||||
if should_image not in container.image.tags:
|
if should_image not in container.image.tags: # pragma: no cover
|
||||||
self.logger.info(
|
self.logger.info(
|
||||||
"Container has mismatched image, re-creating...",
|
"Container has mismatched image, re-creating...",
|
||||||
has=container.image.tags,
|
has=container.image.tags,
|
||||||
|
|
|
@ -116,7 +116,7 @@ class TraefikMiddlewareReconciler(KubernetesObjectReconciler[TraefikMiddleware])
|
||||||
forwardAuth=TraefikMiddlewareSpecForwardAuth(
|
forwardAuth=TraefikMiddlewareSpecForwardAuth(
|
||||||
address=f"http://{self.name}.{self.namespace}:9000/akprox/auth/traefik",
|
address=f"http://{self.name}.{self.namespace}:9000/akprox/auth/traefik",
|
||||||
authResponseHeaders=[],
|
authResponseHeaders=[],
|
||||||
authResponseHeadersRegex="^(Auth|Remote|X).*$",
|
authResponseHeadersRegex="^(Auth|Remote|X|Set).*$",
|
||||||
trustForwardHeader=True,
|
trustForwardHeader=True,
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
|
@ -31,7 +31,7 @@ func doGlobalSetup(outpost api.Outpost, globalConfig api.Config) {
|
||||||
log.SetLevel(log.DebugLevel)
|
log.SetLevel(log.DebugLevel)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
l.Debug("Managed outpost, not seting global log level")
|
l.Debug("Managed outpost, not setting global log level")
|
||||||
}
|
}
|
||||||
l.WithField("hash", constants.BUILD()).WithField("version", constants.VERSION).Info("Starting authentik outpost")
|
l.WithField("hash", constants.BUILD()).WithField("version", constants.VERSION).Info("Starting authentik outpost")
|
||||||
|
|
||||||
|
|
Reference in a new issue