fix(authentik-application): support group parent
This commit is contained in:
parent
21d4aab0e3
commit
bc16cc73de
2 changed files with 7 additions and 2 deletions
|
@ -3,4 +3,4 @@ name: authentik-application
|
||||||
description: A Chart to deploy a secret for the authentik blueprint-sidecar
|
description: A Chart to deploy a secret for the authentik blueprint-sidecar
|
||||||
type: application
|
type: application
|
||||||
|
|
||||||
version: 0.1.0
|
version: 0.1.1
|
|
@ -134,6 +134,11 @@ stringData:
|
||||||
state: {{ $group.state | default "present" | quote }}
|
state: {{ $group.state | default "present" | quote }}
|
||||||
attrs:
|
attrs:
|
||||||
name: {{ $group.slug | quote }}
|
name: {{ $group.slug | quote }}
|
||||||
|
{{- with $group.parent }}
|
||||||
|
parent: !Find [authentik_core.group, [name, {{ . | quote }}]]
|
||||||
|
{{- else}}
|
||||||
|
parent: null
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
- model: authentik_policies.PolicyBinding
|
- model: authentik_policies.PolicyBinding
|
||||||
id: {{ $group.slug | quote }}
|
id: {{ $group.slug | quote }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue