mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Update CalvinDuplicator_test.go
This commit is contained in:
@@ -24,18 +24,28 @@ name: calvin
|
|||||||
`,
|
`,
|
||||||
`apiVersion: apps/v1
|
`apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: hobbes
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: calvin
|
name: calvin
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: fred
|
name: susie
|
||||||
`)
|
`)
|
||||||
|
|
||||||
th.AssertActualEqualsExpectedNoIdAnnotations(m, `
|
th.AssertActualEqualsExpectedNoIdAnnotations(m, `
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: hobbes
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: calvin-1
|
name: calvin-1
|
||||||
---
|
---
|
||||||
@@ -52,6 +62,6 @@ metadata:
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: fred
|
name: susie
|
||||||
`)
|
`)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user