def METHOD_NAME(self) -> TraefikMiddleware:
    """Get deployment object for outpost"""
    return TraefikMiddleware(
        apiVersion=f"{self.crd_group}/{self.crd_version}",
        kind="Middleware",
        metadata=TraefikMiddlewareMetadata(
            name=self.name,
            namespace=self.namespace,
            labels=self.get_object_meta().labels,
        ),
        spec=TraefikMiddlewareSpec(
            forwardAuth=TraefikMiddlewareSpecForwardAuth(
                address=(
                    f"http://{self.name}.{self.namespace}:9000/"
                    "outpost.goauthentik.io/auth/traefik"
                ),
                authResponseHeaders=[
                    "X-authentik-username",
                    "X-authentik-groups",
                    "X-authentik-email",
                    "X-authentik-name",
                    "X-authentik-uid",
                    "X-authentik-jwt",
                    "X-authentik-meta-jwks",
                    "X-authentik-meta-outpost",
                    "X-authentik-meta-provider",
                    "X-authentik-meta-app",
                    "X-authentik-meta-version",
                ],
                authResponseHeadersRegex="",
                trustForwardHeader=True,
            )
        ),
    )