mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 17:34:21 +00:00
refactor Unmarshal Kustomization struct code
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user