fix(authentik): always render outpost config so blueprints validate #14
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
souveredu/digitalboard.core!14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/outpost-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
configis mandatory on theauthentik_outposts.outpostmodel, but both outpost templates rendered the block only behind{% if ... is defined %}. A proxy outpost declared without a config produced an invalid blueprint.status=error, the outpost is never created, andWait for custom blueprints to be appliedretries until it gives up.blueprints_discoveryonly runs24 * * * *, so the retry window never covers a second attempt.Serializer errors {'config': [ErrorDetail(string='This field is required.', code='required')]}.configunconditionally and defaultauthentik_hosttohttps://{{ authentik_domains[0] }}/; an explicitly suppliedauthentik_hoststill wins and is not duplicated.Test plan
authentik_hostexactly once, supplied values preservedak apply_blueprint: passes validation, logs "New outpost saved", outpost appears in the databaseView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.