feat: add ability to provision outposts using blueprints

This commit is contained in:
Bert-Jan Fikse 2026-01-14 14:31:22 +01:00
parent 438a41356a
commit 0106e8801f
Signed by: bert-jan
GPG key ID: C1E0AB516AC16D1A
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,27 @@
# yaml-language-server: $schema=https://goauthentik.io/blueprints/schema.json
version: 1
metadata:
name: "outpost-{{ item.name }}"
labels:
blueprints.goauthentik.io/instantiate: "true"
entries:
- model: authentik_outposts.outpost
identifiers:
name: "{{ item.name }}"
attrs:
name: "{{ item.name }}"
type: {{ item.type | default('proxy') }}
service_connection: {{ item.service_connection | default('null') }}
providers:
{% for p in item.providers %}
- !Find [authentik_providers_proxy.proxyprovider, [name, {{ p }}]]
{% endfor %}
{% if item.config is defined %}
config:
{% for k, v in item.config.items() %}
{{ k }}: {{ v | tojson }}
{% endfor %}
{% endif %}