• Blaine Gardner's avatar
    Integration tests: use 'kubectl apply' vs create · 9009326a
    Blaine Gardner authored
    
    
    Some integration tests fail due to resources from a previous integration
    run not being cleaned up properly. Instead of using 'kubectl create' --
    which fails with an error if the resource already exists -- to create
    resources, use 'kubectl apply' -- which does not fail for pre-existing
    resources. 'kubectl apply' will give a warning that it should be used to
    apply changes to resources created with 'create' or 'apply', but there
    is no error.
    Signed-off-by: default avatarBlaine Gardner <blaine.gardner@suse.com>
    9009326a