replace mergo with kyaml/yaml/merge2

This commit is contained in:
Krzysztof Gibuła
2023-10-05 20:43:50 +00:00
parent 7e392f9117
commit d768fc371c
68 changed files with 157 additions and 136 deletions

View File

@@ -0,0 +1,4 @@
---
apiVersion: v2
name: values-merge
version: 1.0.0

View 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 }}

View File

@@ -0,0 +1,8 @@
a: 1
b: 2
list:
- a
- b
map:
a: 4
b: 5