refactor: split machine deploys from one-time secrets migration
Roles stay under the machine that runs them, CI applies only a known product, and the /opt/secrets move is a one-shot playbook instead of part of every core-secrets run. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
341538fba9
commit
9c692522fb
85 files changed
+537
-492
No files matched your search
@@ -0,0 +1,39 @@
|
||||
# yaml-language-server: $schema=https://goauthentik.io/blueprints/schema.json
|
||||
# Каталог пользователей. Пароли не задаются: их выставляет суперадмин в интерфейсе.
|
||||
version: 1
|
||||
metadata:
|
||||
name: homelab-directory
|
||||
labels:
|
||||
blueprints.goauthentik.io/description: "Группы admins и family"
|
||||
entries:
|
||||
- model: authentik_core.group
|
||||
id: admins
|
||||
identifiers:
|
||||
name: admins
|
||||
|
||||
- model: authentik_core.group
|
||||
id: family
|
||||
identifiers:
|
||||
name: family
|
||||
|
||||
- model: authentik_core.user
|
||||
identifiers:
|
||||
username: karpenok
|
||||
attrs:
|
||||
name: karpenok
|
||||
is_active: true
|
||||
is_superuser: true
|
||||
groups:
|
||||
- !Find [authentik_core.group, [name, "authentik Admins"]]
|
||||
- !KeyOf admins
|
||||
- !KeyOf family
|
||||
|
||||
- model: authentik_core.user
|
||||
identifiers:
|
||||
username: ksynia
|
||||
attrs:
|
||||
name: ksynia
|
||||
is_active: true
|
||||
is_superuser: false
|
||||
groups:
|
||||
- !KeyOf family
|
||||
@@ -0,0 +1,52 @@
|
||||
# yaml-language-server: $schema=https://goauthentik.io/blueprints/schema.json
|
||||
version: 1
|
||||
metadata:
|
||||
name: traefik-dashboard
|
||||
labels:
|
||||
blueprints.goauthentik.io/description: "Панель Traefik только для группы admins"
|
||||
entries:
|
||||
- model: authentik_core.group
|
||||
id: group-admins
|
||||
identifiers:
|
||||
name: admins
|
||||
|
||||
- model: authentik_providers_proxy.proxyprovider
|
||||
id: provider-traefik-dashboard
|
||||
identifiers:
|
||||
name: traefik-dashboard
|
||||
attrs:
|
||||
mode: forward_single
|
||||
external_host: https://proxy.gunihome.ru
|
||||
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-traefik-dashboard
|
||||
identifiers:
|
||||
slug: traefik-dashboard
|
||||
attrs:
|
||||
name: Traefik
|
||||
meta_launch_url: https://proxy.gunihome.ru
|
||||
policy_engine_mode: any
|
||||
provider: !KeyOf provider-traefik-dashboard
|
||||
|
||||
- model: authentik_policies.policybinding
|
||||
identifiers:
|
||||
order: 0
|
||||
target: !KeyOf app-traefik-dashboard
|
||||
attrs:
|
||||
group: !KeyOf group-admins
|
||||
|
||||
# providers ниже — полный список embedded outpost.
|
||||
# Новый proxy-провайдер добавляется в этот файл, а не только в интерфейсе.
|
||||
- model: authentik_outposts.outpost
|
||||
identifiers:
|
||||
name: authentik Embedded Outpost
|
||||
attrs:
|
||||
type: proxy
|
||||
service_connection: null
|
||||
config:
|
||||
authentik_host: https://auth.gunihome.ru
|
||||
providers:
|
||||
- !KeyOf provider-traefik-dashboard
|
||||
|
||||
Reference in new issue
Block a user