mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-17 21:56:08 +02:00
v1: Fix --state-values-set to override values of environments colocated with releases (#705)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
ns: test1
|
||||
@@ -0,0 +1,5 @@
|
||||
chartifyTempDir: environment_overwrite_values
|
||||
helmfileArgs:
|
||||
- template
|
||||
- --state-values-set
|
||||
- ns=test3
|
||||
@@ -0,0 +1,17 @@
|
||||
environments:
|
||||
default:
|
||||
values:
|
||||
- base.yaml
|
||||
- override.yaml
|
||||
|
||||
repositories:
|
||||
- name: bitnami
|
||||
url: https://charts.bitnami.com/bitnami
|
||||
|
||||
releases:
|
||||
- name: test
|
||||
chart: bitnami/nginx
|
||||
namespace: {{ .Values.ns }}
|
||||
version: 13.2.27
|
||||
values:
|
||||
- values.yaml.gotmpl
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
environments:
|
||||
default:
|
||||
values:
|
||||
- base.yaml
|
||||
- override.yaml
|
||||
---
|
||||
repositories:
|
||||
- name: bitnami
|
||||
url: https://charts.bitnami.com/bitnami
|
||||
|
||||
releases:
|
||||
- name: test
|
||||
chart: bitnami/nginx
|
||||
namespace: {{ .Values.ns }}
|
||||
version: 13.2.27
|
||||
values:
|
||||
- values.yaml.gotmpl
|
||||
@@ -0,0 +1 @@
|
||||
ns: test2
|
||||
@@ -0,0 +1,2 @@
|
||||
image:
|
||||
tag: {{ .Values.ns }}
|
||||
Reference in New Issue
Block a user