diff --git a/authentik-application/Chart.yaml b/authentik-application/Chart.yaml index c876b1f..d973c4c 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.3.2 \ No newline at end of file +version: 0.3.3 \ No newline at end of file diff --git a/authentik-application/templates/secrets.yaml b/authentik-application/templates/secrets.yaml index 0af1ffb..696a67a 100644 --- a/authentik-application/templates/secrets.yaml +++ b/authentik-application/templates/secrets.yaml @@ -145,7 +145,7 @@ stringData: meta_publisher: {{ . | quote }} {{- end }} - {{- if (eq (len .Values.blueprint.groups) 0) }} + {{- if (not (kindIs "slice" .Values.blueprint.groups)) }} - model: authentik_core.group id: "app: {{ .Values.blueprint.application.slug }}" diff --git a/authentik-application/values.yaml b/authentik-application/values.yaml index ede6ead..f2f133b 100644 --- a/authentik-application/values.yaml +++ b/authentik-application/values.yaml @@ -48,9 +48,10 @@ blueprint: description: "" publisher: "" # -- additional groups + # disable any groups by set groups: [] (to a slice) # example: # - slug: "app: grafana-admin" # parent: "app: infra" # bindID: uuid # - groups: [] + groups: