refactor Unmarshal Kustomization struct code

This commit is contained in:
yugo kobayashi
2022-12-13 20:36:26 +00:00
parent faddb49c89
commit 5fed0f76c8
21 changed files with 37 additions and 116 deletions

View File

@@ -28,8 +28,6 @@ spec:
imagePullSecrets: []`)
th.WriteK("/app", `
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
metadata:
annotations:
config.kubernetes.io/local-config: "true"
@@ -37,7 +35,7 @@ metadata:
foo: bar
name: test_kustomization
resources:
- resources.yaml
- resources.yaml
`)
m := th.Run("/app", th.MakeDefaultOptions())