mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 16:42:51 +00:00
replace mergo with kyaml/yaml/merge2
This commit is contained in:
4
plugin/builtin/helmchartinflationgenerator/testdata/charts/values-merge/Chart.yaml
vendored
Normal file
4
plugin/builtin/helmchartinflationgenerator/testdata/charts/values-merge/Chart.yaml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
apiVersion: v2
|
||||
name: values-merge
|
||||
version: 1.0.0
|
||||
14
plugin/builtin/helmchartinflationgenerator/testdata/charts/values-merge/templates/test.yaml
vendored
Normal file
14
plugin/builtin/helmchartinflationgenerator/testdata/charts/values-merge/templates/test.yaml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
apiVersion: test.kustomize.io/v1
|
||||
kind: ValuesMergeTest
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}
|
||||
obj:
|
||||
a: {{ .Values.a }}
|
||||
b: {{ .Values.b }}
|
||||
c: {{ .Values.c }}
|
||||
list: {{ .Values.list | toYaml | nindent 2 }}
|
||||
map:
|
||||
a: {{ .Values.map.a }}
|
||||
b: {{ .Values.map.b }}
|
||||
c: {{ .Values.map.c }}
|
||||
8
plugin/builtin/helmchartinflationgenerator/testdata/charts/values-merge/values.yaml
vendored
Normal file
8
plugin/builtin/helmchartinflationgenerator/testdata/charts/values-merge/values.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
a: 1
|
||||
b: 2
|
||||
list:
|
||||
- a
|
||||
- b
|
||||
map:
|
||||
a: 4
|
||||
b: 5
|
||||
Reference in New Issue
Block a user