Open spencerhughes opened 3 months ago
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? Thanks
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.