mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
fix bug with migrating annotations
This commit is contained in:
@@ -299,7 +299,13 @@ g:
|
||||
`,
|
||||
},
|
||||
|
||||
expectedOutput: `a: b #first
|
||||
expectedOutput: `e: f
|
||||
g:
|
||||
h:
|
||||
- i # has a list
|
||||
- j
|
||||
---
|
||||
a: b #first
|
||||
metadata:
|
||||
annotations:
|
||||
internal.config.kubernetes.io/path: "a/b/a_test.yaml"
|
||||
@@ -310,12 +316,6 @@ metadata:
|
||||
annotations:
|
||||
internal.config.kubernetes.io/path: "a/b/a_test.yaml"
|
||||
config.kubernetes.io/path: 'a/b/a_test.yaml'
|
||||
---
|
||||
e: f
|
||||
g:
|
||||
h:
|
||||
- i # has a list
|
||||
- j
|
||||
`,
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user