Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion charts/raw/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ keywords:
maintainers:
- name: Brawdunoir
email: yann.lacroix@avisto.com
version: 1.0.1
version: 1.0.2
kubeVersion: ">=1.16.0-0"
annotations:
artifacthub.io/signKey: |
fingerprint: AF455B903BFED8363C003F9A5E2474CA7617EC66
url: https://keybase.io/avistotelecom/pgp_keys.asc
artifacthub.io/changes: |
- kind: fixed
description: Fix regex to split objects in input templates: only the "---" line separator at the root level will be considered, excluding indented blocks with object parameters containing the "---" string as well (like TLS certificates). When upgrading to this version, be sure to verify that the templates passed in input only declare Kubernetes manifests aligned at the root level, without any leading indentation.
3 changes: 2 additions & 1 deletion charts/raw/templates/ressources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
{{- end }}
{{- range $i, $t := .Values.templates }}
{{ $kubeResources := tpl $t $ }}
{{- range regexSplit "---" $kubeResources -1 }}
{{/* Match "---" line separator without leading indentation and with potential trailing whitespaces or comment before the end of line */}}
{{- range regexSplit "(?m)^---\\s*(#.*)?$" $kubeResources -1 }}
{{- if . | trim }}
---
{{ merge (. | fromYaml) $template | toYaml }}
Expand Down
Loading