fix(authentik-application ): slice of groups
This commit is contained in:
parent
13e8beaabc
commit
272223fec3
5 changed files with 15 additions and 3 deletions
|
@ -2,5 +2,5 @@ apiVersion: v2
|
|||
name: authentik-application
|
||||
type: application
|
||||
|
||||
version: 0.3.4
|
||||
version: 0.3.5
|
||||
description: "A Chart to deploy a secret for the authentik blueprint-sidecar."
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# authentik-application
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
A Chart to deploy a secret for the authentik blueprint-sidecar.
|
||||
|
||||
|
|
5
authentik-application/ci/ct-values.yaml
Normal file
5
authentik-application/ci/ct-values.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
blueprint:
|
||||
groups:
|
||||
- slug: "app: grafana-admin"
|
||||
bindID: uuid
|
|
@ -1,5 +1,6 @@
|
|||
{{- $bindPolicyID := get . "bindPolicyID" }}
|
||||
{{- with get . "root" }}
|
||||
{{- $ = . }}
|
||||
{{- if (not (kindIs "slice" .Values.blueprint.groups)) }}
|
||||
|
||||
- model: authentik_core.group
|
||||
|
|
|
@ -5,6 +5,12 @@ HELM_REPO=${HELM_REPO:-oci://codeberg.org/wrenix/helm-charts}
|
|||
helm-docs -t ./README.md.gotmpl -t _docs.gotmpl
|
||||
|
||||
for p in * ; do
|
||||
if \
|
||||
[ $p == "alertmanager-matrix" ] || \
|
||||
[ $p == "alertmanager-ntfy" ] \
|
||||
; then
|
||||
continue
|
||||
fi
|
||||
if [ ! -d $p ]; then
|
||||
continue;
|
||||
fi
|
||||
|
@ -30,7 +36,7 @@ for p in * ; do
|
|||
if [ "$changes" -gt "0" ]; then
|
||||
# check / lint if version was increased correct
|
||||
if [ "$tag" == "$lastTag" ]; then
|
||||
echo "changed helmchart should create new pkg"
|
||||
echo "changed helmchart should create new pkg - diff line count has:"
|
||||
echo $(git diff "${lastTag}" -- "${p}" | wc -l);
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue