Files
Matthias Baur d059b28fb3 Ensure 'helm repo add' is also not pollute on helmfile template (#1887)
When having multiple helmfiles in one helmfile.d folder and multiple of
them having repositories defined, the errors mention in #1749 still
existed.

Fixes #1749 (again)

Signed-off-by: Matthias Baur <m.baur@syseleven.de>
2025-01-22 20:42:33 +08:00

17 lines
439 B
Go Template

repositories:
- name: prometheus-community
url: https://prometheus-community.github.io/helm-charts
releases:
- name: test2
chart: ../../../../charts/raw
values:
- templates:
- |
apiVersion: v1
kind: ConfigMap
metadata:
name: {{`{{ .Release.Name }}`}}
data:
foo: {{`{{ (first (lookup "v1" "Namespace" "" "").items).metadata.name }}`}}