mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
rebase with master
This commit is contained in:
parent
e1df4a0dd9
commit
40e8498363
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ func (t *test) run() {
|
|||
// assuming its namespaces creation
|
||||
decode := kscheme.Codecs.UniversalDeserializer().Decode
|
||||
obj, _, err := decode([]byte(t.tResource.rawResource), nil, nil)
|
||||
_, err = client.CreateResource(getResourceFromKind(t.tResource.gvk.Kind), "", obj)
|
||||
_, err = client.CreateResource(getResourceFromKind(t.tResource.gvk.Kind), "", obj, false)
|
||||
if err != nil {
|
||||
t.t.Errorf("error while creating namespace %s", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue