feat(auth): integrate Grafana and Ntfy with Authentik SSO
ansible-core-mon / deploy (push) Successful in 24s
ansible-core-net / deploy (push) Successful in 39s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-opnsense / deploy (push) Successful in 3s
ansible-rus-central / deploy (push) Successful in 36s
ansible-core-mon / deploy (push) Successful in 24s
ansible-core-net / deploy (push) Successful in 39s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-opnsense / deploy (push) Successful in 3s
ansible-rus-central / deploy (push) Successful in 36s
This commit is contained in:
1 parent
3670bb6033
commit
811d65526b
9 files changed
+174
-6
No files matched your search
@@ -3,13 +3,18 @@ version: 1
|
||||
metadata:
|
||||
name: traefik-dashboard
|
||||
labels:
|
||||
blueprints.goauthentik.io/description: "Панель Traefik только для группы admins"
|
||||
blueprints.goauthentik.io/description: "Панель Traefik и Ntfy Forward-auth"
|
||||
entries:
|
||||
- model: authentik_core.group
|
||||
id: group-admins
|
||||
identifiers:
|
||||
name: admins
|
||||
|
||||
- model: authentik_core.group
|
||||
id: group-family
|
||||
identifiers:
|
||||
name: family
|
||||
|
||||
- model: authentik_providers_proxy.proxyprovider
|
||||
id: provider-traefik-dashboard
|
||||
identifiers:
|
||||
@@ -37,6 +42,41 @@ entries:
|
||||
attrs:
|
||||
group: !KeyOf group-admins
|
||||
|
||||
- model: authentik_providers_proxy.proxyprovider
|
||||
id: provider-ntfy
|
||||
identifiers:
|
||||
name: ntfy
|
||||
attrs:
|
||||
mode: forward_single
|
||||
external_host: https://ntfy.gunihome.ru
|
||||
intercept_header_auth: true
|
||||
authorization_flow: !Find [authentik_flows.flow, [slug, default-provider-authorization-implicit-consent]]
|
||||
invalidation_flow: !Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]]
|
||||
|
||||
- model: authentik_core.application
|
||||
id: app-ntfy
|
||||
identifiers:
|
||||
slug: ntfy
|
||||
attrs:
|
||||
name: Ntfy
|
||||
meta_launch_url: https://ntfy.gunihome.ru
|
||||
policy_engine_mode: any
|
||||
provider: !KeyOf provider-ntfy
|
||||
|
||||
- model: authentik_policies.policybinding
|
||||
identifiers:
|
||||
order: 0
|
||||
target: !KeyOf app-ntfy
|
||||
attrs:
|
||||
group: !KeyOf group-admins
|
||||
|
||||
- model: authentik_policies.policybinding
|
||||
identifiers:
|
||||
order: 1
|
||||
target: !KeyOf app-ntfy
|
||||
attrs:
|
||||
group: !KeyOf group-family
|
||||
|
||||
# providers ниже — полный список embedded outpost.
|
||||
# Новый proxy-провайдер добавляется в этот файл, а не только в интерфейсе.
|
||||
- model: authentik_outposts.outpost
|
||||
@@ -49,4 +89,4 @@ entries:
|
||||
authentik_host: https://auth.gunihome.ru
|
||||
providers:
|
||||
- !KeyOf provider-traefik-dashboard
|
||||
|
||||
- !KeyOf provider-ntfy
|
||||
Reference in new issue
Block a user