mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 02:05:49 +02:00
breaking: Fix the inherit feature to support multi-inheritance (#674)
* breaking: Fix the inherit feature introduced in Helmfile v0.150.0 for multi-inheritance Follow-up for #435 Addresses https://github.com/helmfile/helmfile/discussions/656#discussioncomment-4877360 towards Helmfile v1 Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> * Print a deprecation warning on releases[].inherit of map Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> --------- Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
+4
-4
@@ -17,7 +17,7 @@ templates:
|
||||
labels:
|
||||
template1: template1
|
||||
inherit:
|
||||
template: base
|
||||
- template: base
|
||||
except:
|
||||
- labels
|
||||
template2:
|
||||
@@ -29,14 +29,14 @@ templates:
|
||||
labels:
|
||||
template2: template2
|
||||
inherit:
|
||||
template: base
|
||||
- template: base
|
||||
except:
|
||||
- valuesTemplate
|
||||
|
||||
releases:
|
||||
- name: foo1
|
||||
inherit:
|
||||
template: template1
|
||||
- template: template1
|
||||
values:
|
||||
- templates:
|
||||
- |
|
||||
@@ -49,7 +49,7 @@ releases:
|
||||
{{` {{ (unset .Values "templates") | toYaml | nindent 2 }} `}}
|
||||
- name: foo2
|
||||
inherit:
|
||||
template: template2
|
||||
- template: template2
|
||||
values:
|
||||
- templates:
|
||||
- |
|
||||
|
||||
Reference in New Issue
Block a user