mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 04:42:40 +02:00
fix re-using environment state in sub-helmfiles issue (#951)
* fix re-using environment state in sub-helmfiles issue Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
releases:
|
||||
- name: no-envs
|
||||
chart: ../../../charts/raw-0.0.1
|
||||
values:
|
||||
- templates:
|
||||
- |
|
||||
envName: {{ .Values.envName }}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
releases:
|
||||
- name: no-values
|
||||
chart: ../../../charts/raw-0.0.1
|
||||
Vendored
+1
-1
@@ -6,7 +6,7 @@ environments:
|
||||
---
|
||||
|
||||
releases:
|
||||
- name: raw
|
||||
- name: prod
|
||||
chart: ../../../charts/raw-0.0.1
|
||||
values:
|
||||
- templates:
|
||||
|
||||
Vendored
+1
-1
@@ -6,7 +6,7 @@ environments:
|
||||
---
|
||||
|
||||
releases:
|
||||
- name: raw
|
||||
- name: test
|
||||
chart: ../../../charts/raw-0.0.1
|
||||
values:
|
||||
- templates:
|
||||
|
||||
+4
@@ -10,3 +10,7 @@ helmfiles:
|
||||
- path: helmfiles/prod.yaml
|
||||
values:
|
||||
- envName: {{ .Values.envName }}
|
||||
- path: helmfiles/no-envs.yaml
|
||||
values:
|
||||
- envName: {{ .Values.envName }}
|
||||
- path: helmfiles/no-values.yaml
|
||||
Vendored
+8
-2
@@ -1,7 +1,13 @@
|
||||
Building dependency release=raw, chart=../../../charts/raw-0.0.1
|
||||
Templating release=raw, chart=../../../charts/raw-0.0.1
|
||||
Building dependency release=test, chart=../../../charts/raw-0.0.1
|
||||
Templating release=test, chart=../../../charts/raw-0.0.1
|
||||
---
|
||||
# Source: raw/templates/resources.yaml
|
||||
subhelmfile: test
|
||||
envName: test
|
||||
|
||||
Building dependency release=no-envs, chart=../../../charts/raw-0.0.1
|
||||
Templating release=no-envs, chart=../../../charts/raw-0.0.1
|
||||
---
|
||||
# Source: raw/templates/resources.yaml
|
||||
envName: test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user