mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Inline TypeMeta.
This commit is contained in:
@@ -698,11 +698,15 @@ metadata:
|
||||
return
|
||||
}
|
||||
assert.Equal(t, ResourceMeta{
|
||||
Kind: "Deployment",
|
||||
APIVersion: "v1/apps",
|
||||
TypeMeta: TypeMeta{
|
||||
Kind: "Deployment",
|
||||
APIVersion: "v1/apps",
|
||||
},
|
||||
ObjectMeta: ObjectMeta{
|
||||
Name: "foo",
|
||||
Namespace: "bar",
|
||||
NameMeta: NameMeta{
|
||||
Name: "foo",
|
||||
Namespace: "bar",
|
||||
},
|
||||
Annotations: map[string]string{
|
||||
"ka": "va",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user