'replace the current object with oc replace'

def _replace(self, fname, force=False):

    yed = Yedit(fname)
    results = yed.delete('metadata.resourceVersion')
    if results[0]:
        yed.write()
    cmd = ['replace', '-f', fname]
    if force:
        cmd.append('--force')
    return self.openshift_cmd(cmd)
