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
|
||||
kind: Deployment
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
new-label: new-value
|
||||
replica: 3
|
||||
`)
|
||||
|
||||
@@ -167,6 +171,7 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
new-label: new-value
|
||||
old-label: old-value
|
||||
spec:
|
||||
containers:
|
||||
|
||||
Reference in New Issue
Block a user