'boilerplate oc command for modifying lables on this object'

def cmd_template(self):

    cmd = ['label', self.kind]
    if self.selector:
        cmd.extend(['--selector', self.selector])
    elif self.name:
        cmd.extend([self.name])
    return cmd
