diff --git a/crds/operators.coreos.com_olmconfigs.yaml b/crds/operators.coreos.com_olmconfigs.yaml index 525888f60..3774aacde 100644 --- a/crds/operators.coreos.com_olmconfigs.yaml +++ b/crds/operators.coreos.com_olmconfigs.yaml @@ -67,6 +67,71 @@ spec: period defaults to the value specified within the packageserver. type: string pattern: ^([0-9]+(\.[0-9]+)?(s|m|h))+$ + roleAggregation: + description: |- + RoleAggregation configures OLM's automatic aggregation of access + to provided APIs into the default user-facing admin, edit and + view ClusterRoles. When unset, aggregation is enabled for every + provided API (the legacy behavior). + type: object + properties: + disable: + description: |- + Disable is used to disable OLM's automatic role aggregation + of access to provided APIs into the default + user-facing admin, edit and view ClusterRoles, except for the + APIs listed in enableAPIs. When true, the generated + ClusterRoles for provided APIs are maintained without + the aggregation labels, so the aggregated roles drop their rules; + when unset or false, the labels are restored. + type: boolean + enableAPIs: + description: |- + EnableAPIs lists the provided APIs that remain aggregated into + the default user-facing admin, edit and view ClusterRoles while + role aggregation is otherwise disabled by `disable: true`. Aggregation is + performed only for provided APIs matching one of the entries + (group and kind must both match). Entries identify an API + independently of its served versions: the aggregated permission + applies to the resource as a whole, so a version bump of an + exempted API does not require updating the list. Provided APIs + that do not match are still granted their generated + ClusterRoles, but without the aggregation labels. May only be + set when disable is true. + type: array + maxItems: 1024 + items: + description: |- + GroupKind identifies a kind of API within a group, independently of any + served versions of that API. + type: object + required: + - group + - kind + properties: + group: + description: |- + group is the name of the Kubernetes API group, (e.g. "apps", "networking.k8s.io"). + Must be a DNS subdomain, as required of CustomResourceDefinition spec.group, + and must not be empty: provided APIs are never part of the core ("") group. + type: string + maxLength: 253 + minLength: 1 + pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$ + kind: + description: |- + kind is the Kubernetes resourcekind of the target object, (e.g. "Pod", "Deployment", "Service"). + Must be a DNS (1035) label, which may have mixed case, as required of + CustomResourceDefinition spec.names.kind. + type: string + maxLength: 63 + minLength: 1 + pattern: ^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$ + x-kubernetes-map-type: atomic + x-kubernetes-list-type: set + x-kubernetes-validations: + - rule: '!has(self.enableAPIs) || self.enableAPIs.size() == 0 || (has(self.disable) && self.disable)' + message: enableAPIs may only be set when disable is true status: description: OLMConfigStatus is the status for an OLMConfig resource. type: object diff --git a/crds/zz_defs.go b/crds/zz_defs.go index 84c4aa125..d50a57f58 100644 --- a/crds/zz_defs.go +++ b/crds/zz_defs.go @@ -145,7 +145,7 @@ func operatorsCoreosCom_installplansYaml() (*asset, error) { return a, nil } -var _operatorsCoreosCom_olmconfigsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x58\xeb\x6f\xdb\xc8\x11\xff\xee\xbf\x62\xa0\x1e\x70\x52\x4e\xa2\x1f\x57\xa4\x17\xf5\x83\x11\xe8\x9a\x83\xd1\x04\x09\x62\x37\x05\xea\xba\xc5\x88\x1c\x92\x5b\x2f\x77\xd9\x7d\xd8\xd6\x35\xfd\xdf\x8b\xd9\xe5\x4b\x96\x28\x3b\x48\x7a\xfc\x22\x71\x1f\xb3\x33\xf3\x9b\xf9\xcd\x2c\xb1\x16\x9f\xc8\x58\xa1\xd5\x12\xb0\x16\xf4\xe0\x48\xf1\x9b\x4d\x6e\x7f\xb2\x89\xd0\xc7\x77\xa7\x47\xb7\x42\x65\x4b\x58\x79\xeb\x74\xf5\x91\xac\xf6\x26\xa5\x9f\x29\x17\x4a\x38\xa1\xd5\x51\x45\x0e\x33\x74\xb8\x3c\x02\x40\xa5\xb4\x43\x1e\xb6\xfc\x0a\x90\x6a\xe5\x8c\x96\x92\xcc\xa2\x20\x95\xdc\xfa\x35\xad\xbd\x90\x19\x99\x20\xbc\x3d\xfa\xee\x24\x39\x3b\x4b\x4e\x8e\x00\x14\x56\xb4\x04\x2d\xab\x54\xab\x5c\x14\x36\xd1\x35\x19\x74\xda\xd8\x24\xd5\x86\x34\xff\x54\x47\xb6\xa6\x94\x0f\x28\x8c\xf6\xf5\x12\xf6\xae\x89\xb2\x5a\x3d\xd0\x51\xa1\x8d\x68\xdf\x01\x16\x7c\x48\xf8\x1f\xed\x7b\xff\xf6\xdd\x2a\x1c\x19\xc6\xa4\xb0\xee\xcf\xdb\xe3\x6f\x85\x75\x61\xae\x96\xde\xa0\x1c\x2a\x19\x86\xad\x50\x85\x97\x68\x06\x13\x47\x00\x36\xd5\x35\x2d\x61\x25\xbd\x75\x64\x8e\x00\x1a\x9b\x1b\x3d\x16\x8d\xc1\x77\xa7\x8d\x5a\x36\x2d\xa9\xc2\x56\x49\x60\xd3\xd4\xeb\x0f\x17\x9f\x7e\xbc\x7c\x34\x01\x90\x91\x4d\x8d\xa8\x5d\xf0\x60\xa7\x26\x08\x0b\x08\xa6\xc1\x89\xff\xd4\x5a\x59\xb1\x96\x04\xb9\x36\x10\x15\xf3\x46\xa8\x82\xf7\x24\x03\x79\x6e\xc3\x9a\xea\xf5\xbf\x28\x75\x83\x61\x43\xff\xf6\xc2\x50\x36\x3c\x9a\x15\x6f\x71\x1f\x0c\xd7\x86\x91\x70\x03\x2f\xc7\x67\x10\x65\x5b\xe3\x8f\x6c\xf8\xbc\x78\x34\x0b\xc0\xa6\xc7\x9d\x90\x71\xc8\x91\x05\x57\x52\xeb\x44\xca\x1a\x7f\x81\xce\xc1\x95\xc2\x82\xa1\xda\x90\x25\x15\x83\x90\x87\x51\x35\x26\x25\x3b\xc2\x2f\xc9\xb0\x20\xb0\xa5\xf6\x32\x63\xd7\xdc\x91\x71\x60\x28\xd5\x85\x12\xbf\x76\xd2\x2d\x38\x1d\x8e\x95\xe8\xc8\x3a\x10\xca\x91\x51\x28\xe1\x0e\xa5\xa7\x39\xa0\xca\x76\x64\x57\xb8\x01\x43\x7c\x2e\x78\x35\x90\x18\xb6\xd8\x5d\x5d\xde\x69\x43\x20\x54\xae\x97\x50\x3a\x57\xdb\xe5\xf1\x71\x21\x5c\x9b\x85\xa9\xae\x2a\xaf\x84\xdb\x1c\x87\x84\x12\x6b\xcf\xd1\x7e\x9c\xd1\x1d\xc9\x63\x2b\x8a\x05\x9a\xb4\x14\x8e\x52\xe7\x0d\x1d\x63\x2d\x16\xc1\x18\x15\x32\x31\xa9\xb2\xdf\xb5\xf1\x60\x1f\x1d\x1c\x31\xb7\x8e\xe3\x61\x6b\x2a\x24\xc5\x17\x82\xc5\x09\x13\xc3\x2f\x0a\x8c\xc6\xf6\x98\xf0\x10\xbb\xf1\xe3\x9f\x2e\xaf\xfa\x08\x0d\xb8\x45\x88\xfa\xa5\x7b\x3c\xd4\xa2\xc5\x9e\x15\x2a\x27\x13\x77\xe6\x46\x57\x41\x2a\xa9\xac\xd6\x42\xb9\xf0\x92\x4a\x41\xca\x81\xf5\xeb\x4a\x38\x1b\x62\x98\xac\x63\x20\x77\x05\xaf\x02\x6b\xc1\x9a\xc0\xd7\x19\x3a\xca\x76\x97\x5c\x28\x58\x61\x45\x72\x85\x96\x7e\x73\xec\x18\x23\xbb\x60\x40\x9e\x8d\xde\x90\x93\x77\x37\xec\xa4\x38\x40\x4b\xa8\xa3\x70\x77\xfc\x72\x59\x53\xca\x20\xb3\x97\x79\x57\x60\x15\x54\x03\x02\x6a\x91\x7d\xec\xa8\xd1\xc3\xc7\x89\x83\x9f\x9c\x90\x3d\xb3\x67\xe6\x91\x8a\x6f\x9a\x85\xa1\xe8\xa0\x50\x51\x47\x66\x72\xe6\x81\x96\xf8\x90\x99\xf0\xfd\xdb\x77\x9d\xdc\x5d\x3c\x0f\xaa\xfa\x94\xba\x41\x2d\x61\xf9\x98\x95\xae\x05\x65\xab\xcb\x4f\x23\xcb\x9e\xce\xa8\xf6\xf9\xf9\xb1\x40\x46\xc0\x5b\xca\x98\x99\x9a\xd3\xd8\xa8\xef\x2d\x4c\xe2\x22\x58\x5d\x7e\x9a\xb4\x36\x8e\xca\x65\xec\xba\xe2\x09\x42\x59\x87\x52\x52\x06\xd8\x66\x51\xa8\x5a\xb1\x88\xcd\xe1\xbe\x24\x43\x80\xed\xf0\xa8\xd4\xb0\x3c\xeb\x04\xb3\xae\x5a\x71\xa2\xa3\x83\x12\x2d\xac\x89\xd4\xe0\x30\xa1\x00\xd5\xa8\xb0\xf7\x8d\x94\x5f\xb8\xd4\x47\x19\x0e\x4d\x41\xce\x02\x4a\x19\x6b\x7c\x8d\xe9\x7e\x1c\xe3\xf3\xd7\x92\x14\x18\x22\xc5\x6e\xca\xe6\x01\xfd\x7b\x21\x25\x33\xbd\x21\x74\x14\x8c\x1d\x38\xce\x4e\x82\x67\x08\xd3\x72\x54\xe8\x96\x6f\x7a\x63\xc7\xb4\x88\x11\xb5\xd6\x5a\xd2\x88\xb1\x35\xa6\xb7\x58\x50\xa4\xb9\xcb\x8d\x4a\x2f\xb8\xcc\xdc\xa1\xfc\xda\xe0\xf9\x30\x26\x78\x2b\x88\x42\x75\x8d\x59\xbd\x51\x69\xac\x71\xbc\x26\xd7\xe3\x40\x37\x2a\x1b\x1b\x44\x43\xad\x33\x9b\xb4\xc7\x0d\xc6\xa0\x26\x23\x74\x26\x52\x94\x72\x03\x69\x49\xe9\x2d\x1f\x34\x1e\x3f\x0e\x9d\xb7\x9c\xb4\x2b\x74\x28\x75\x71\x19\x6b\xd7\x1f\x23\xe3\x33\xeb\x88\x5c\x34\xad\x40\x94\x0d\x9e\xdb\x2f\xc8\xbc\x09\x85\xff\x50\xc0\x57\xe8\x60\x4a\x49\x91\xc0\xe4\xe5\x49\x35\x99\x25\xf0\x46\x37\xb5\xa4\x46\x83\x15\x39\x32\x73\xd0\x4a\x6e\xa0\xd4\xde\x58\x98\x4e\xca\xc9\x6c\x0e\x95\x50\xde\xed\x14\xd0\xfe\x99\x4e\x2a\x5e\x86\x2a\x03\x4b\xa9\x56\x19\xef\xb4\x93\x59\x28\x58\x6b\xea\xd4\xce\x92\x18\x90\x5c\x73\xba\xb1\xf9\x41\x87\x34\x36\x66\x94\xa3\x97\xae\x6b\x47\x62\x79\xed\x64\xc0\xbd\x70\xa5\x50\xd1\x2b\x43\x10\x0e\xc7\xe4\x9e\xf2\x31\x44\xd8\x71\xaf\xb3\x84\x7f\x4c\xaf\x4f\x16\xaf\x6e\x7e\x98\xfe\x3d\x89\x7f\x66\xe7\x53\xfb\xb9\xfa\x5c\xce\x66\x3f\x7c\x77\xb4\x8b\xde\x33\x8b\x49\x44\xba\x2d\x27\xf1\xed\xff\x5d\x50\x18\x1b\x31\xb8\xa3\xec\x13\x8a\xc6\xe0\x66\xcf\xac\x70\x54\x8d\x91\xfe\xd0\xc2\x55\x7b\x46\x5f\x8c\x32\x72\x28\x64\x34\x8f\xe9\x10\x19\x38\x17\x3b\x57\x82\xd4\x1b\x13\x3a\x16\xc7\x7c\xd4\xb6\xb3\xaf\x3f\x5c\xc0\xc7\x11\xeb\x9f\xf4\x41\x7c\xf6\xb7\xef\xfd\xb3\x00\x89\xd6\x5d\x19\x54\x36\x28\x7c\x25\xaa\xb1\x40\xe4\x9e\xdf\x5a\x2c\xc6\xe7\x0d\xa1\x1d\xcd\xbe\x45\x03\xf0\xe8\x34\xdb\xb2\x9f\x1a\x9f\xa8\xb7\xb0\xc7\x86\xb1\x95\xcf\xe7\xcd\x7d\x52\xdb\x50\xe5\x19\x70\x3c\x10\xc0\xeb\xd0\x76\xdd\x6a\xca\x62\x6b\xca\x50\x37\x81\xed\x34\xa0\xd2\xae\x1c\xcf\x48\x7e\xae\x02\xc7\xc5\x2b\xc9\x9a\xb8\xe8\xc6\x94\xf6\x2a\x23\x23\x37\x4c\x73\xfd\x79\x69\x89\xaa\x60\x4a\x81\x8b\x3c\x16\x47\x61\x03\xb3\xdc\x2a\x7d\xaf\x02\xab\xa8\x86\x1b\x59\x46\xd0\xb8\x93\xc8\xd1\x95\x0b\xe2\xab\x4f\x14\x13\x9a\xf7\x34\xa5\xda\x71\xa5\x1c\x57\xf2\x19\xc4\xd1\x52\xed\x12\xb8\xa5\x5e\xb8\xf1\xa8\x6a\x62\xea\x5b\xe0\xd5\x88\x8a\x77\x90\xd2\x57\xc8\x65\x1f\xb3\xd0\x1d\x75\x73\x8a\x0b\x51\xb8\x8b\xb4\x19\x89\x6b\xed\x63\xc3\xd3\xc3\xf7\x24\x42\x0d\xab\xa3\x02\xaa\x6a\xb7\x69\xbc\xf1\x95\x3e\xab\xf0\xe1\x2d\xa9\xc2\x95\x4b\xf8\xf1\xec\x0f\x2f\x7f\x1a\x59\xa8\xd7\x81\xd8\xb3\x5f\x48\x51\x2c\x78\xdf\xc2\x7b\xbb\x52\x07\xf7\xb1\xe0\x9e\xa4\xbd\x57\x24\x45\xbf\x26\xb6\x64\x5b\x59\x70\x8f\x16\x2c\x39\x58\x23\x77\x17\xbe\x3e\xec\x4e\x2e\xbf\xa1\x1b\x54\x29\xcd\x41\xe4\xfb\x8f\x11\xb6\xe5\x48\xb9\x81\xd3\xb3\x39\xac\x1b\xcc\x92\x98\x5d\x49\x4f\xeb\xd7\x0f\x37\xc9\x1e\x63\x84\x85\x57\xf3\x47\x9a\x72\x6b\xea\x03\x09\x73\x98\x1e\x50\x92\x6b\x6b\xf8\x98\xc2\x9c\xdd\xd4\xdf\x3d\x9c\x4d\x9d\x25\x4f\x45\x02\x37\x58\xc5\x81\x26\xba\x4d\x1f\xa1\xdc\xcb\xdf\x8f\x07\x8c\x50\xa2\xf2\xd5\x12\x4e\x46\x96\x44\x46\xfe\x16\xe1\x11\x25\xf5\xf5\x0c\x99\x96\x0b\x83\x55\x85\x4e\xa4\x20\x32\xbe\xb2\xe6\x82\xcc\x30\xc5\xd8\x23\xcd\xc6\x3c\x74\x59\x03\xe7\x7f\x6f\x1b\x1a\x7d\x56\xd2\x7d\x30\x3a\xf3\x29\x99\xd0\x17\x36\x3d\x4f\x3a\x64\x5e\xbe\x25\x87\xac\x6c\x5a\x59\x7a\x60\xac\xba\x4f\x2e\xa1\x31\xab\x08\x95\x50\x85\x6d\x94\x11\x36\xf2\xdf\xfc\xc0\xb9\xbc\xed\xbe\x24\x66\xed\xbe\xe9\xb2\x80\x26\x58\x62\x45\x46\x86\x2f\x4c\x50\x78\x34\xa8\x1c\x51\xc6\xbc\x7a\x98\x3e\xba\xd6\xad\x63\x79\xec\xbf\x2f\x3c\xc9\x24\x0d\x01\x45\xe6\x66\x83\x9b\xaf\x17\x81\x87\xbe\x1d\x01\x9d\x9e\x9c\x1d\x8c\xbb\x6e\xdd\x81\xeb\x41\xdb\x3c\x5e\xbf\x5e\xfc\x0d\x17\xbf\xde\x4c\x9b\x3f\x27\x8b\x57\xff\x9c\x2f\x6f\x5e\x0c\x5e\x6f\x66\xe7\xdf\x8d\x48\xda\xdf\x51\xf6\xcf\x56\x0c\xf7\x97\x87\xad\x60\x9b\x87\x42\xac\x73\xb8\x32\x9e\xe6\xf0\x06\xa5\xa5\x39\xfc\x45\x85\x3a\xf9\x95\x4e\x23\xe5\xab\x71\xed\xb8\xb3\x99\xf0\xa9\x93\xc3\x4b\x82\x4a\x87\xd7\x34\xea\x1e\x6a\xe7\x9f\xe7\x24\x5e\xda\x7c\x14\x69\x89\x70\xf0\x85\x0b\x02\x21\x43\xae\x75\x42\x0f\x58\xd5\x92\x92\x54\x57\xc7\x07\xbe\x80\x6d\xa9\xf0\x25\x45\xee\xf4\xe5\x33\xa2\x67\x7a\x1d\x63\xe4\x66\x7a\xbd\x68\xfe\xbd\x68\x87\x66\xe7\x7c\x23\x39\x34\x3f\x7b\x71\x3c\x3b\x9f\x0e\x22\xef\xe6\x7a\xd1\x87\x5d\x72\xf3\x62\x76\x3e\x98\x9b\xb5\x41\x18\xcb\xc7\x12\x9c\xf1\x6d\x5d\xb0\x4e\x1b\xee\x54\xb6\xc6\xfc\xba\xfb\xb6\xda\x3b\xbf\x89\x58\xf8\xcf\x7f\x8f\xfe\x17\x00\x00\xff\xff\xfc\x0f\x88\xfb\x62\x19\x00\x00") +var _operatorsCoreosCom_olmconfigsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x5a\x6d\x93\xdb\xb6\x11\xfe\x7e\xbf\x62\xab\x76\x62\x29\x91\x78\x67\xbb\x71\x13\x65\x32\x1e\xcf\x39\xce\x78\x62\x37\x1e\x9f\xeb\xce\xd4\x75\x93\x15\xb1\x22\xd1\x23\x01\x16\x00\xef\x4e\xae\xfb\xdf\x3b\x0b\x80\x2f\x3a\x89\x94\xae\x76\x8a\x2f\x77\x02\xc1\xc5\x62\xf7\xd9\x57\x10\x2b\xf9\x96\x8c\x95\x5a\x2d\x01\x2b\x49\x37\x8e\x14\xff\xb2\xc9\xe5\x37\x36\x91\xfa\xf4\xea\xfe\xc9\xa5\x54\x62\x09\xe7\xb5\x75\xba\x7c\x4d\x56\xd7\x26\xa5\xa7\xb4\x96\x4a\x3a\xa9\xd5\x49\x49\x0e\x05\x3a\x5c\x9e\x00\xa0\x52\xda\x21\x4f\x5b\xfe\x09\x90\x6a\xe5\x8c\x2e\x0a\x32\x8b\x8c\x54\x72\x59\xaf\x68\x55\xcb\x42\x90\xf1\xc4\x9b\xad\xaf\xce\x92\x07\x0f\x92\xb3\x13\x00\x85\x25\x2d\x41\x17\x65\xaa\xd5\x5a\x66\x36\xd1\x15\x19\x74\xda\xd8\x24\xd5\x86\x34\xff\x29\x4f\x6c\x45\x29\x6f\x90\x19\x5d\x57\x4b\xd8\xbb\x26\xd0\x6a\xf8\x40\x47\x99\x36\xb2\xf9\x0d\xb0\xe0\x4d\xfc\xff\xe1\x7c\x3f\xbf\x78\x79\xee\xb7\xf4\x73\x85\xb4\xee\xa7\xed\xf9\x17\xd2\x3a\xff\xac\x2a\x6a\x83\x45\x9f\x49\x3f\x6d\xa5\xca\xea\x02\x4d\xef\xc1\x09\x80\x4d\x75\x45\x4b\x38\x2f\x6a\xeb\xc8\x9c\x00\xc4\x33\x47\x3e\x16\xf1\xc0\x57\xf7\x23\x5b\x36\xcd\xa9\xc4\x86\x49\xe0\xa3\xa9\x27\xaf\x9e\xbf\x7d\x78\x71\xeb\x01\x80\x20\x9b\x1a\x59\x39\x2f\xc1\x96\x4d\x90\x16\x10\x4c\xd4\x13\xff\x53\x69\x65\xe5\xaa\x20\x58\x6b\x03\x81\xb1\xda\x48\x95\xf1\x3b\x49\x8f\x9e\xdb\x30\xa7\x7a\xf5\x4f\x4a\x5d\x6f\xda\xd0\xbf\x6a\x69\x48\xf4\xb7\x66\xc6\x1b\xbd\xf7\xa6\x2b\xc3\x9a\x70\x3d\x29\x87\xd1\x43\xd9\xd6\xfc\xad\x33\x7c\x5c\xdc\x7a\x0a\xc0\x47\x0f\x6f\x82\x60\xc8\x91\x05\x97\x53\x23\x44\x12\x51\x5e\xa0\xd7\xe0\x72\x69\xc1\x50\x65\xc8\x92\x0a\x20\xe4\x69\x54\xf1\x48\xc9\x0e\xf1\x0b\x32\x4c\x08\x6c\xae\xeb\x42\xb0\x68\xae\xc8\x38\x30\x94\xea\x4c\xc9\x0f\x2d\x75\x0b\x4e\xfb\x6d\x0b\x74\x64\x1d\x48\xe5\xc8\x28\x2c\xe0\x0a\x8b\x9a\xe6\x80\x4a\xec\xd0\x2e\x71\x03\x86\x78\x5f\xa8\x55\x8f\xa2\x7f\xc5\xee\xf2\xf2\x52\x1b\x02\xa9\xd6\x7a\x09\xb9\x73\x95\x5d\x9e\x9e\x66\xd2\x35\x56\x98\xea\xb2\xac\x95\x74\x9b\x53\x6f\x50\x72\x55\x33\xda\x4f\x05\x5d\x51\x71\x6a\x65\xb6\x40\x93\xe6\xd2\x51\xea\x6a\x43\xa7\x58\xc9\x85\x3f\x8c\xf2\x96\x98\x94\xe2\xf7\x0d\x1e\xec\xad\x8d\x83\xce\xad\x63\x3c\x6c\x3d\xf2\x46\x71\x47\x65\xb1\xc1\x04\xf8\x05\x82\xe1\xb0\x9d\x4e\x78\x8a\xc5\xf8\xfa\x87\x8b\x37\x1d\x42\xbd\xde\x82\x8a\xba\xa5\x7b\x24\xd4\x68\x8b\x25\x2b\xd5\x9a\x4c\x78\x73\x6d\x74\xe9\xa9\x92\x12\x95\x96\xca\xf9\x1f\x69\x21\x49\x39\xb0\xf5\xaa\x94\xce\x7a\x0c\x93\x75\xac\xc8\x5d\xc2\xe7\xde\x6b\xc1\x8a\xa0\xae\x04\x3a\x12\xbb\x4b\x9e\x2b\x38\xc7\x92\x8a\x73\xb4\xf4\x7f\xd7\x1d\xeb\xc8\x2e\x58\x21\x47\x6b\xaf\xef\x93\x77\x5f\xd8\x31\x71\x80\xc6\xa1\x0e\xaa\xbb\xf5\x2f\x17\x15\xa5\xac\x64\x96\x32\xbf\xe5\xbd\x0a\xaa\x9e\x03\x6a\x34\x7b\x5b\x50\x83\x9b\x0f\x3b\x0e\x1e\x6b\x42\x96\xcc\x9e\x27\xb7\x58\x7c\x16\x17\xfa\xa0\x83\x52\x05\x1e\xd9\x93\xb3\x1f\x68\x1c\x1f\xb2\x27\xfc\xf9\xc5\xcb\x96\xee\xae\x3e\x47\x59\x3d\xc4\xae\x67\x4b\x5a\xde\xe6\x5c\x57\x92\xc4\xf9\xc5\xdb\x81\x65\x87\x2d\xaa\x19\x4f\x6f\x13\x64\x0d\xd4\x96\x04\x7b\xa6\xb8\x1b\x1f\xea\x9e\x85\x49\x58\x04\xe7\x17\x6f\x27\xcd\x19\x07\xe9\xb2\xee\xda\xe0\x09\x52\x59\x87\x45\x41\x02\xb0\xb1\x22\x1f\xb5\x42\x10\x9b\xc3\x75\x4e\x86\x00\x9b\xe9\x41\xaa\x7e\xb9\x68\x09\x33\xaf\x5a\xb1\xa1\xa3\x83\x1c\x2d\xac\x88\x54\x6f\x33\xa9\x00\xd5\x20\xb1\x9f\x23\x95\x1f\x39\xd4\x07\x1a\x0e\x4d\x46\xce\x02\x16\x45\x88\xf1\x15\xa6\xfb\xf5\x18\xc6\x5f\x73\x52\x60\x88\x14\x8b\x49\xcc\xbd\xf6\xaf\x65\x51\xb0\xa7\x37\x84\x8e\xfc\x61\x7b\x82\xb3\x13\x2f\x19\xc2\x34\x1f\x24\xba\x25\x9b\xee\xb0\x43\x5c\x04\x44\xad\xb4\x2e\x68\xe0\xb0\x15\xa6\x97\x98\x51\x70\x73\x17\x1b\x95\x3e\xe7\x30\x73\x85\xc5\xa7\x82\xe7\xd5\x10\xe1\x2d\x10\xf9\xe8\x1a\xac\x7a\xa3\xd2\x10\xe3\x78\xcd\x5a\x0f\x2b\x3a\xb2\x6c\xac\x27\x0d\x95\x16\x36\x69\xb6\xeb\xcd\x41\x45\x46\x6a\x21\x53\x2c\x8a\x0d\xa4\x39\xa5\x97\xbc\xd1\x30\x7e\x1c\xba\xda\xb2\xd1\x9e\xa3\xc3\x42\x67\x17\x21\x76\x7d\x17\x3c\x3e\x7b\x1d\xb9\x96\x31\x15\x08\xb4\xa1\xe6\xf4\x0b\x44\x6d\x7c\xe0\x1f\x03\x7c\x89\x0e\xa6\x94\x64\x09\x4c\x1e\x9d\x95\x93\x59\x02\xcf\x74\x8c\x25\x15\x1a\x2c\xc9\x91\x99\x83\x56\xc5\x06\x72\x5d\x1b\x0b\xd3\x49\x3e\x99\xcd\xa1\x94\xaa\x76\x3b\x01\xb4\x1b\xd3\x49\xc9\xcb\x50\x09\xb0\x94\x6a\x25\xf8\x4d\x3b\x99\xf9\x80\xb5\xa2\x96\x6d\x91\x04\x40\x72\xcc\x69\xe7\xe6\xa3\x02\x89\x67\x14\xb4\xc6\xba\x70\x6d\x3a\x12\xc2\x6b\x4b\x03\xae\xa5\xcb\xa5\x0a\x52\xe9\x2b\x61\x1c\x93\x7b\xc2\x47\x5f\xc3\x8e\x73\x9d\x25\xfc\x63\xfa\xee\x6c\xf1\xed\xfb\xaf\xa6\x7f\x4f\xc2\x3f\xb3\xc7\x53\xfb\xb1\xfc\x98\xcf\x66\x5f\xfd\x61\xef\xcb\x46\x17\xf4\x24\xcb\x0c\x65\x5e\x25\x9f\x8a\xe2\xd7\xdb\xe4\x5a\x7f\x4e\x36\x3a\x3e\xac\x9d\x2e\xd1\xc9\x14\xb0\xb7\x8c\x33\xc0\x34\x25\x3b\xac\x37\xa7\xd9\x9f\x5f\x49\x41\x82\xd3\x4d\x76\x83\x51\xbe\x51\xde\x6c\x23\x66\xb1\xc6\x94\x11\x86\xa2\x94\x6a\x0e\x24\xa4\xdb\x9b\xf7\x35\xe3\x4a\xd2\x75\x93\xf5\x33\xeb\x36\x6a\xbd\x56\x96\xdc\x7c\x8b\x45\x69\x21\xba\xa6\xe0\x75\xae\xc8\x6c\x86\xa1\xd0\x63\x15\xa6\x3e\xc0\x51\x86\x29\x23\x2c\xc7\x2b\xa9\xcd\x6c\x5c\xdb\x83\x31\x0d\x8e\x88\x6b\xd0\xc5\xb6\xe1\x05\xc7\xab\x14\xba\xc8\x36\x1c\xcf\x3a\xb5\x32\xa0\xfa\x82\x1b\xa5\xdb\xea\xfd\xb0\x7e\x47\xe9\x8c\xe8\x7e\x57\xc7\x73\xa0\x9b\x94\x2a\xe7\xf5\x38\x66\xd0\x10\x4a\x1b\xeb\xb3\x93\x10\x02\x03\x04\x78\x32\x22\xc5\x19\xae\x2d\x98\xcf\x8c\x14\x07\x17\x1a\x46\x1b\x8f\x3e\x23\x9e\x81\xed\x53\xa3\x21\x28\x51\xfa\xcc\x28\xfa\x0a\x5d\x8f\x9f\x9d\xf7\xee\x03\xb5\xc0\x15\x15\x76\x0e\x56\x6f\x3d\x22\xe1\x55\x63\x41\x18\xcd\x11\x9a\xa4\x01\x53\x17\x64\xbf\x1b\xa5\x7e\xdd\x9a\x03\x68\x03\x6b\x2c\x6c\x3c\x6e\xd8\xc6\x33\x6c\xc8\x3a\x6d\xf6\x65\xe4\x3d\x2e\x0f\x46\x56\x1e\x9d\x78\x3f\x17\x72\x7f\x68\x29\x7a\x2d\xc6\x68\xb4\x25\x73\x9f\xad\x18\x62\xb1\xf7\xa5\xc5\x00\x3c\x28\xf8\x23\x9c\xcf\x2e\x00\xe1\x3a\x97\xc5\x38\xec\x6e\x5b\x91\xcf\xce\x5c\x4e\xe6\x5a\x5a\x6a\x6c\x4f\xc0\x6a\x03\xbf\x36\xa6\xee\xa1\xf8\x6b\x02\x4f\xb6\xde\x1a\xdd\xa5\x22\xc3\xa1\x96\x13\x23\x0e\xa4\xbb\x70\x2c\xd1\xa5\x39\x9f\x89\x33\x43\x5f\xbd\x73\x05\xe7\x8c\x1c\x89\xb0\x3c\xa6\xbe\xe5\xe3\x4f\xcf\x15\x11\x94\xb5\x75\xb0\xd2\x2e\x0f\x14\x67\x09\xfc\x10\xa8\x80\x14\x5c\x43\xad\x37\x5c\x9c\x3c\x79\xf5\x7c\x94\xaa\x54\x82\x2a\x52\xfc\x46\xb1\x61\x76\xb8\x68\xf4\xc1\x53\x74\x0d\x9b\xdb\xa0\xaf\xc8\x94\xd2\xda\x43\x9e\x08\xab\xaa\xf0\xc9\x4a\xb0\x9a\xb6\xee\x45\x2e\x94\xaf\x73\x5d\x90\xb7\x28\x6c\x36\x82\x55\x5d\x56\xa1\x73\x31\x4a\x97\x6e\xa8\xac\x5c\x8c\x04\x42\x93\xf5\x19\x45\xec\xd6\x84\x52\xb6\x29\xb8\x19\x9f\x09\xbc\xea\x2b\xe0\x00\xfe\xd0\x81\xd0\x9e\xa0\x17\xab\x37\x46\xeb\x38\x67\xce\x0c\x2a\xde\x35\xd8\xf9\xdd\x5d\xd3\x1c\x56\xb5\x6b\xdc\xcf\x80\x8b\x49\xe0\x25\x6e\x02\x72\x56\xe3\x68\x66\xef\xe1\x1d\x89\xe8\xe2\x08\xa3\xf5\xb0\xc3\x40\x63\x70\x38\xcc\x02\x94\x78\xf3\xdc\x51\x69\x97\x70\xff\xec\xc1\x1f\x47\x16\x4a\xbf\x6a\x94\xcb\xbb\xb8\x15\x00\x5f\xe9\x84\x5e\x4a\x80\x30\xa3\x07\x03\xdc\xf5\xda\xab\x3b\x66\x7a\x18\x1a\xa0\xf3\x5d\xfc\xa2\x1a\x3b\x1b\x78\xc9\x6d\xa1\x3b\xd8\x20\x3a\x26\x3f\x26\xbc\xa3\xf2\x88\x30\xf6\x37\x0e\x77\xc7\x22\x9c\xe2\xe0\x2a\x16\xc0\xb8\xd3\x39\x22\x7d\x09\x23\xf4\x8d\x0f\x2c\xba\xab\xde\x5a\xc2\x4d\x7b\x84\x6b\xd3\xc6\xb7\xfd\x54\xaf\xc8\x28\x72\x64\xbd\x02\xa3\xde\x62\x1d\x82\x55\x65\x27\x73\x98\x28\x72\xd7\xda\x5c\x4a\x95\xc5\xe6\xd1\x64\x30\x9b\xeb\x8f\x97\xde\x07\x72\x65\xfe\xf4\xcf\x17\x60\xeb\x95\xd0\x1c\x72\xe6\xec\x62\x1a\x25\xf8\x6a\x6a\xa0\x85\xef\x4b\x88\x24\xb0\x74\xc4\x76\xd8\xb8\xdd\xd8\x35\x63\x37\xb4\x59\xee\x49\x37\x14\xf9\x0a\x10\x8d\x6b\xa4\x90\x6a\x43\x30\x9d\x4c\x66\x41\x00\x87\x0f\x77\x44\x89\xd2\x8d\x12\x6f\x5e\x90\xca\x5c\xbe\x84\x07\x5f\x3f\x3c\xbc\x5c\xaa\x66\xf9\xfd\x83\x8b\xbb\x42\xe8\x1d\x2e\x3e\x70\x05\x34\x7d\xb7\x88\xff\x7d\xd9\x4c\xcd\x1e\x73\x79\x34\xf6\x7c\xf6\xe5\xfe\x62\xa9\x1b\xfb\x1a\xaf\xbb\xe3\xee\xc8\xbc\x8c\xcd\xd9\x5b\x60\x6c\xc2\x51\xe3\x5d\xf8\x71\xe8\xaf\x44\x13\x6f\x41\xfa\x4a\x0b\xc6\xe8\x53\xaa\x0a\xbd\x29\x49\x39\xfe\x75\x41\xe6\x4a\xa6\xf4\xbf\xe0\x74\x7a\xff\xec\xe1\xd7\xb3\xe0\xf1\xe7\x9c\xb8\xa4\xb9\x2f\x95\x73\xbc\x22\x28\xe5\x0d\x09\x48\x91\x73\xc2\x6d\x14\x1f\xb1\xcf\x38\xce\x7d\xc7\x28\xe1\xf3\xfe\x76\xf0\x7b\xf4\xdb\xa1\xef\xc9\xe2\x6f\xb8\xf8\xc0\xe8\x0a\xff\x05\x80\x75\xff\xcf\x1e\x8f\x23\xec\x66\x71\xd9\x6a\x7f\x51\x62\xb5\x88\xe1\xd0\xe9\x52\xa6\x23\x6f\x6e\xbd\xc7\x09\x45\x7c\xd1\xd2\x50\x14\xd8\x7a\xe3\x0a\x0b\x29\xfa\x37\x83\xfb\xc6\xc2\xd7\x0d\x4b\xb8\xf7\xbb\x1c\xed\xd4\x52\xb1\x4e\xba\xbc\x7d\x06\x1f\x3f\xc2\xad\xb9\xc4\xca\x0f\x34\x9d\xc1\xf7\xdf\xc3\x19\x3f\x9e\xb6\xef\xc5\x7c\x60\x06\x5f\x7c\x01\x5b\x13\xf7\xc6\x62\x3e\x59\x8b\x19\x2d\x7b\xd5\x82\x87\x64\xcc\x44\x06\xb3\x8d\xed\x56\xba\xef\x5e\x1d\xd9\x4c\x0f\x9d\xae\xa6\x9d\x1e\x7e\xfd\xd6\x0d\xf5\x54\x2b\x21\x07\x35\x31\x9e\x1d\x8d\x24\x3b\x5b\x27\x3c\x6f\xf6\xe8\x9a\xf1\x82\x1c\xca\x22\x1c\x8f\x93\x7e\x64\x6b\xec\x22\x43\x6d\x8c\xbf\xb1\x71\xe8\xa8\xbd\xce\xe3\x50\xf9\x7a\xe0\xf4\x07\x65\x10\xc6\xa1\x2c\x64\x01\x05\x5a\xf7\xc6\xa0\xb2\x9e\xe1\x37\xb2\x1c\x4a\x39\x17\x0d\x40\x06\x9f\x1b\x42\x3b\x58\x0e\x2c\xa2\x82\x07\x1f\xf3\x59\xf6\xb7\x86\x0f\x26\x36\xbb\x67\x18\xe9\xe0\x1c\x1d\x3b\x76\xa9\x36\x50\xe5\x27\xe0\x78\x22\x84\xf5\x46\xdb\xae\x5d\x4d\x22\x5c\xcd\xb1\xaa\x23\xb0\x9d\x06\x54\xbe\xd6\x1c\xf3\xbc\x6f\x7c\x8f\x37\x5c\xc9\xae\x28\xd8\x1b\x6f\x52\x2b\x41\xa6\xd8\x70\x4d\xd3\xed\x97\xe6\xa8\x32\x12\x09\xc0\xf3\x98\xbf\xca\x50\x07\x5d\x2a\x7d\xad\x7c\x3f\x41\xc5\xde\xb0\x8f\x6c\xcc\x71\x4b\x91\xd1\xb5\x96\x54\x88\x86\x8c\xbf\xbc\x4c\x53\xaa\x1c\x5b\xf7\x30\x93\x47\x85\x85\xd0\x6a\x5e\x82\x40\x47\x0b\x37\x8c\xaa\xc6\xe9\x7c\x06\x7d\x45\x52\xe1\x0e\x36\xaf\x4b\x54\x8c\x48\xe1\x5d\x55\xfb\x4c\x09\x99\x86\xd2\xb0\xb1\x48\x5c\x35\xa5\x58\xa7\xbe\x83\x1a\x8a\x5d\x6d\x54\x21\xff\x8b\xd2\xf8\x44\x99\xf5\x42\xe8\xc3\x07\x7f\x7a\xf4\xcd\xc0\x42\xbd\x0a\xd5\xcb\x8f\xa1\xfa\x1c\xe9\x2e\xdf\x45\x7a\xbb\x54\x7b\xf7\xd1\x5e\x3c\x49\x73\xaf\x9a\x64\xdd\x9a\x70\x25\xb5\x65\x05\xd7\x68\x7d\xac\x58\xa1\x25\x01\x75\x35\x2e\xce\x67\xda\x84\xdb\x30\x95\xd2\x1c\xe4\x7a\xff\x36\xd2\x36\x3e\xb2\xd8\xc0\xfd\x07\xa1\x8c\xf6\x4c\x05\xeb\x4a\x3a\xb7\xfe\xee\xe6\x7d\xb2\xe7\x30\xd2\xc2\xb7\xf3\x5b\x9c\x4a\x0b\xac\x7b\xbd\xf6\x30\x1d\x61\x92\x2b\x4e\xff\x31\x09\xfb\xec\xd8\xca\xd8\xe3\xb3\xa9\x3d\xc9\x21\x24\x48\xe5\x28\x1b\xb9\x44\x6c\xcc\x47\x2a\xf7\x68\xb8\xfc\x2e\xa5\x92\x65\x5d\x2e\xe1\x6c\x60\x49\xf0\xc8\x9f\x03\x1e\x81\x52\x17\xcf\x90\xdd\x72\x66\xb0\x0c\xdd\xe9\xb6\x56\x37\x7d\x13\x0b\x1d\x1f\xff\x62\xec\x09\x77\xc2\xbf\x67\xa3\x1b\x3d\xca\xe8\x5e\x19\x2d\xea\x94\x8c\xaf\xd4\xe3\x9d\x4f\xda\xf7\xbc\x9b\x8a\x82\x55\xc6\xab\x3c\xba\x61\x5d\xb5\x9f\x9c\x84\xb2\x8d\x50\x49\x95\xd9\xc8\x8c\xb4\xc1\xff\x8d\x55\x7d\xfc\xda\x75\x4e\xec\xb5\xbb\x4b\xa7\x50\xdf\xa5\x5a\x59\x29\x88\xf3\x72\x84\xac\x46\xdf\x19\x0a\x05\xe0\xb8\xfb\x68\xaf\xae\x5a\x2f\x8f\xdd\xf7\x15\x07\x3d\x49\x74\x40\xc1\x73\xf3\x81\xfb\x75\xe8\xe7\x73\x40\xa3\x6d\x9f\xa3\xb2\xf7\x7d\x59\x7b\x9b\xa8\xff\x32\x5f\xf6\xf3\xf6\x5f\x46\x12\xf7\xfd\x19\x65\x37\xb6\x30\xdc\x5d\x9e\x6e\x81\x6d\xde\x34\x5a\xdf\xf8\x6b\x85\x67\xa1\xdd\xfe\x17\xe5\xe3\xe4\x27\x0a\x8d\x54\x5d\x8e\x95\xac\x0b\x98\xf0\xae\x93\xf1\x25\x9e\xa5\xf1\x35\x91\xdd\xb1\x0b\xae\xe3\x84\xc4\x4b\xe3\x47\x21\x8d\x23\xec\x7d\xe1\x03\xde\x21\xc3\x5a\xeb\x84\x6e\xb0\xac\x0a\x4a\x52\x5d\x9e\x8e\x7c\x01\xb4\xc5\xc2\x5d\x82\xdc\xfd\x47\x47\xa0\x67\xfa\x89\x2d\x87\xd3\xd9\xe3\x69\x0f\x79\xef\x7b\xa5\xe3\x2f\xc9\xfb\x2f\x67\x8f\xfb\xe5\x63\x03\xc2\x10\x3e\x96\xfd\xfa\xc6\x3a\x6d\x7c\x79\xd4\x9f\xab\x57\xed\xb7\x65\x9d\xf0\x23\x62\xe1\xdf\xff\x39\xf9\x6f\x00\x00\x00\xff\xff\x30\xea\x92\x0a\x62\x2a\x00\x00") func operatorsCoreosCom_olmconfigsYamlBytes() ([]byte, error) { return bindataRead( diff --git a/pkg/operators/v1/olmconfig_types.go b/pkg/operators/v1/olmconfig_types.go index c15b5114f..e6392481f 100644 --- a/pkg/operators/v1/olmconfig_types.go +++ b/pkg/operators/v1/olmconfig_types.go @@ -25,6 +25,12 @@ type Features struct { // When reenabled, OLM will recreate the "Copied CSVs" for each // cluster scoped operator. DisableCopiedCSVs *bool `json:"disableCopiedCSVs,omitempty"` + // RoleAggregation configures OLM's automatic aggregation of access + // to provided APIs into the default user-facing admin, edit and + // view ClusterRoles. When unset, aggregation is enabled for every + // provided API (the legacy behavior). + // +optional + RoleAggregation OLMConfigRoleAggregation `json:"roleAggregation,omitzero"` // PackageServerSyncInterval is used to define the sync interval for // packagerserver pods. Packageserver pods periodically check the // status of CatalogSources; this specifies the period using duration @@ -37,6 +43,58 @@ type Features struct { PackageServerSyncInterval *metav1.Duration `json:"packageServerSyncInterval,omitempty"` } +// OLMConfigRoleAggregation configures OLM's automatic aggregation of access +// to provided APIs into the default user-facing admin, edit and view +// ClusterRoles. +// +kubebuilder:validation:XValidation:rule="!has(self.enableAPIs) || self.enableAPIs.size() == 0 || (has(self.disable) && self.disable)",message="enableAPIs may only be set when disable is true" +type OLMConfigRoleAggregation struct { + // Disable is used to disable OLM's automatic role aggregation + // of access to provided APIs into the default + // user-facing admin, edit and view ClusterRoles, except for the + // APIs listed in enableAPIs. When true, the generated + // ClusterRoles for provided APIs are maintained without + // the aggregation labels, so the aggregated roles drop their rules; + // when unset or false, the labels are restored. + // +optional + Disable bool `json:"disable,omitzero"` + + // EnableAPIs lists the provided APIs that remain aggregated into + // the default user-facing admin, edit and view ClusterRoles while + // role aggregation is otherwise disabled by `disable: true`. Aggregation is + // performed only for provided APIs matching one of the entries + // (group and kind must both match). Entries identify an API + // independently of its served versions: the aggregated permission + // applies to the resource as a whole, so a version bump of an + // exempted API does not require updating the list. Provided APIs + // that do not match are still granted their generated + // ClusterRoles, but without the aggregation labels. May only be + // set when disable is true. + // +optional + // +kubebuilder:validation:MaxItems=1024 + // +listType=set + EnableAPIs []GroupKind `json:"enableAPIs,omitempty,omitzero"` +} + +// GroupKind identifies a kind of API within a group, independently of any +// served versions of that API. +// +structType=atomic +type GroupKind struct { + // group is the name of the Kubernetes API group, (e.g. "apps", "networking.k8s.io"). + // Must be a DNS subdomain, as required of CustomResourceDefinition spec.group, + // and must not be empty: provided APIs are never part of the core ("") group. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=253 + // +kubebuilder:validation:Pattern=`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$` + Group string `json:"group"` + // kind is the Kubernetes resourcekind of the target object, (e.g. "Pod", "Deployment", "Service"). + // Must be a DNS (1035) label, which may have mixed case, as required of + // CustomResourceDefinition spec.names.kind. + // +kubebuilder:validation:MinLength=1 + // +kubebuilder:validation:MaxLength=63 + // +kubebuilder:validation:Pattern=`^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$` + Kind string `json:"kind"` +} + // OLMConfigStatus is the status for an OLMConfig resource. type OLMConfigStatus struct { Conditions []metav1.Condition `json:"conditions,omitempty"` diff --git a/pkg/operators/v1/zz_generated.deepcopy.go b/pkg/operators/v1/zz_generated.deepcopy.go index d6f89ba40..d1064ff5f 100644 --- a/pkg/operators/v1/zz_generated.deepcopy.go +++ b/pkg/operators/v1/zz_generated.deepcopy.go @@ -83,6 +83,7 @@ func (in *Features) DeepCopyInto(out *Features) { *out = new(bool) **out = **in } + in.RoleAggregation.DeepCopyInto(&out.RoleAggregation) if in.PackageServerSyncInterval != nil { in, out := &in.PackageServerSyncInterval, &out.PackageServerSyncInterval *out = new(metav1.Duration) @@ -100,6 +101,21 @@ func (in *Features) DeepCopy() *Features { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupKind) DeepCopyInto(out *GroupKind) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupKind. +func (in *GroupKind) DeepCopy() *GroupKind { + if in == nil { + return nil + } + out := new(GroupKind) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OLMConfig) DeepCopyInto(out *OLMConfig) { *out = *in @@ -159,6 +175,26 @@ func (in *OLMConfigList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OLMConfigRoleAggregation) DeepCopyInto(out *OLMConfigRoleAggregation) { + *out = *in + if in.EnableAPIs != nil { + in, out := &in.EnableAPIs, &out.EnableAPIs + *out = make([]GroupKind, len(*in)) + copy(*out, *in) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OLMConfigRoleAggregation. +func (in *OLMConfigRoleAggregation) DeepCopy() *OLMConfigRoleAggregation { + if in == nil { + return nil + } + out := new(OLMConfigRoleAggregation) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *OLMConfigSpec) DeepCopyInto(out *OLMConfigSpec) { *out = *in