mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 15:14:04 +02:00
* Add integration tests for #1749 Signed-off-by: Matthias Baur <m.baur@syseleven.de> * Reset extra args on a higher level to only affect subsequent helmfiles With the implementation before, extra args has been reset after each helm.exec which leads to problems with multiple charts in a helmfile since the correct args are only set once in Template(). But Template() calls helm.exec(template) multiple times. Signed-off-by: Matthias Baur <m.baur@syseleven.de> --------- Signed-off-by: Matthias Baur <m.baur@syseleven.de>
24 lines
658 B
Go Template
24 lines
658 B
Go Template
releases:
|
|
- name: test1
|
|
chart: ../../../charts/raw
|
|
values:
|
|
- templates:
|
|
- |
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{`{{ .Release.Name }}`}}
|
|
data:
|
|
foo: {{`{{ (first (lookup "v1" "Namespace" "" "").items).metadata.name }}`}}
|
|
- name: test2
|
|
chart: ../../../charts/raw
|
|
values:
|
|
- templates:
|
|
- |
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{`{{ .Release.Name }}`}}
|
|
data:
|
|
foo: {{`{{ (first (lookup "v1" "Namespace" "" "").items).metadata.name }}`}}
|