@classmethod
def set(cls, key_value, is_new=None):
    """Sets the value of a cinderlib KeyValue in a CRO."""
    cro = {'kind': cls.kind, 'apiVersion': cls.api_version, 'metadata': {
        'name': key_value.key, 'annotations': {'value': key_value.value}}}
    cls._set_dict_resource_version(key_value, cro)
    res = cls._apply(key_value.key, cro, is_new)
    cls._set_resource_version(key_value, res)
