Skip to content

Commit

Permalink
fix(keycloak): put secrets separator at the top of their definition
Browse files Browse the repository at this point in the history
Fixes #504 'invalid Yaml document separator' error on linting when there is more than one secret declared in keycloak chart values

Signed-off-by: Hervé Le Meur <[email protected]>
  • Loading branch information
lemeurherveCB authored and Mirco Hacker committed Dec 10, 2021
1 parent 4587a89 commit 6817019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: keycloak
version: 16.0.2
version: 16.0.3
appVersion: 15.0.2
description: Open Source Identity and Access Management For Modern Applications and Services
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/keycloak/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- range $nameSuffix, $values := .Values.secrets -}}
---
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -25,5 +26,4 @@ stringData:
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 2 }}
{{- end }}
{{- end }}
---
{{- end -}}

0 comments on commit 6817019

Please sign in to comment.