27 lines
763 B
Django/Jinja
27 lines
763 B
Django/Jinja
# yaml-language-server: $schema=https://goauthentik.io/blueprints/schema.json
|
|
version: 1
|
|
metadata:
|
|
name: "outpost-{{ authentik_ldap_outpost.name }}"
|
|
labels:
|
|
blueprints.goauthentik.io/instantiate: "true"
|
|
|
|
entries:
|
|
- model: authentik_outposts.outpost
|
|
identifiers:
|
|
name: "{{ authentik_ldap_outpost.name }}"
|
|
attrs:
|
|
name: "{{ authentik_ldap_outpost.name }}"
|
|
type: ldap
|
|
service_connection: null
|
|
|
|
providers:
|
|
{% for app in authentik_ldap_apps %}
|
|
- !Find [authentik_providers_ldap.ldapprovider, [name, {{ app.name }}]]
|
|
{% endfor %}
|
|
|
|
{% if authentik_ldap_outpost.config is defined %}
|
|
config:
|
|
{% for k, v in authentik_ldap_outpost.config.items() %}
|
|
{{ k }}: {{ v | tojson }}
|
|
{% endfor %}
|
|
{% endif %}
|