diff --git a/authentik-application/Chart.yaml b/authentik-application/Chart.yaml index 970d3f9..5b9f633 100644 --- a/authentik-application/Chart.yaml +++ b/authentik-application/Chart.yaml @@ -3,4 +3,4 @@ name: authentik-application description: A Chart to deploy a secret for the authentik blueprint-sidecar type: application -version: 0.1.0 \ No newline at end of file +version: 0.1.1 \ No newline at end of file diff --git a/authentik-application/templates/secrets.yaml b/authentik-application/templates/secrets.yaml index 3d9e322..2b91cb0 100644 --- a/authentik-application/templates/secrets.yaml +++ b/authentik-application/templates/secrets.yaml @@ -134,7 +134,12 @@ stringData: state: {{ $group.state | default "present" | quote }} attrs: name: {{ $group.slug | quote }} - + {{- with $group.parent }} + parent: !Find [authentik_core.group, [name, {{ . | quote }}]] + {{- else}} + parent: null + {{- end }} + - model: authentik_policies.PolicyBinding id: {{ $group.slug | quote }} identifiers: