authentik icon indicating copy to clipboard operation
authentik copied to clipboard

Custom values for outpost "container_image"/"AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE" not working

Open katrinm86 opened this issue 2 years ago • 2 comments

Describe the bug Neither "container_image" in the outpost configuration nor "AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE" work when using specific images or template strings.

The behaviour that the image will default to is "ghcr.io/goauthentik/ldap:latest" (for ldap outposts) - regardless of the settings.

It looks like a fallback is used. When the values are omitted the outpost will use "ghcr.io/goauthentik/ldap:2024.8.3".

To Reproduce Steps to reproduce the behavior:

with env variables:

  1. Set AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE to e.g. "myregistry/goauthentik/%(type)s:2024.8.3" on server & worker
  2. Create e.g. an ldap outpost
  3. The ldap outpost gets deployed automatically but uses the image "ghcr.io/goauthentik/ldap:latest"

with "container_name":

  1. No AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE set in docker compose
  2. Create e.g. an ldap outpost and specify custom configuration where "container_name" is "myregistry/goauthentik/ldap:2024.8.3"
  3. The ldap outpost gets deployed automatically but uses the image "ghcr.io/goauthentik/ldap:latest"

Expected behavior The outpost gets deployed and uses the base image "myregistry/goauthentik/ldap:2024.8.3" as specified

Version and Deployment (please complete the following information):

  • authentik version: 2024.8.3
  • Deployment: docker compose

katrinm86 avatar Oct 02 '24 12:10 katrinm86

A similar problem already occurred in 2024.2.2 but was closed: https://github.com/goauthentik/authentik/issues/8899

katrinm86 avatar Oct 02 '24 12:10 katrinm86

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.