mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
Manage name changes (prefix/suffix) via YAML annotations rather than via in-memory-only fields.
This commit is contained in:
@@ -26,7 +26,7 @@ metadata:
|
||||
name: meatball
|
||||
`)
|
||||
|
||||
th.AssertActualEqualsExpected(m, `
|
||||
th.AssertActualEqualsExpectedNoIdAnnotations(m, `
|
||||
apiVersion: apps/v1
|
||||
kind: MeatBall
|
||||
metadata:
|
||||
|
||||
@@ -36,7 +36,7 @@ fruit: $FRUIT
|
||||
vegetable: $VEGGIE
|
||||
`)
|
||||
|
||||
th.AssertActualEqualsExpected(rm, `
|
||||
th.AssertActualEqualsExpectedNoIdAnnotations(rm, `
|
||||
apiVersion: apps/v1
|
||||
beans: two two two two
|
||||
fruit: orange
|
||||
|
||||
@@ -27,7 +27,7 @@ metadata:
|
||||
name: meatball
|
||||
`)
|
||||
|
||||
th.AssertActualEqualsExpected(m, `
|
||||
th.AssertActualEqualsExpectedNoIdAnnotations(m, `
|
||||
apiVersion: apps/v1
|
||||
kind: MeatBall
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user