'return a clusterrole with name and/or rules'

@staticmethod
def builder(name='default_clusterrole', rules=None):

    if (rules is None):
        rules = [{'apiGroups': [''], 'attributeRestrictions': None, 'verbs': [], 'resources': []}]
    content = {'apiVersion': 'v1', 'kind': 'ClusterRole', 'metadata': {'name': '{}'.format(name)}, 'rules': rules}
    return ClusterRole(content=content)
