fix(authentik-application): do not create group with empty list
This commit is contained in:
parent
352e65e513
commit
b63544a291
3 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
version: 0.3.3
|
|
@ -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 }}"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue