mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
add labels in test patch files
This commit is contained in:
@@ -145,6 +145,10 @@ metadata:
|
|||||||
name: myDeploy
|
name: myDeploy
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
spec:
|
spec:
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
new-label: new-value
|
||||||
replica: 3
|
replica: 3
|
||||||
`)
|
`)
|
||||||
|
|
||||||
@@ -167,6 +171,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
new-label: new-value
|
||||||
old-label: old-value
|
old-label: old-value
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
Reference in New Issue
Block a user