-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
authentik_flow ignores changes to background #482
Comments
Any update on this @BeryJu ? |
I'm having the same issue. I've worked around it by mounting a config map on the location of the background-image file, replacing it with a transparant pixel (but could be any image). Not very nice, but it works for now. resource "kubernetes_config_map" "bg_pixel" {
metadata {
name = "cm-bg-pixel"
}
binary_data = {
"flow_background.jpg" = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="
}
} And in the Authentik (Helm) values file: server:
volumes:
- name: bg-pixel
configMap:
name: cm-bg-pixel
volumeMounts:
- name: bg-pixel
mountPath: /web/dist/assets/images/flow_background.jpg
subPath: flow_background.jpg Make sure the config map is deployed in the same namespace as Authentik. |
Any update on this topic? |
larsl-net
added a commit
to larsl-net/terraform-provider-authentik
that referenced
this issue
Sep 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When setting the
background
attribute ofauthentik_flow
to either a path within Authentik (e.g., /media/public/flow-backgrounds/background.png) or to a URL as per the documentation, Terraform reports that the resource was successfully changed, but the previous value ofbackground
remains unchanged.If you run Terraform in debug mode, you can see that it notices this but ignores it:
As mentioned, I've also tried setting the value of
background
to/media/public/flow-backgrounds/background.png
, which yields the same result.The text was updated successfully, but these errors were encountered: