diff --git a/crds/operators.coreos.com_olmconfigs.yaml b/crds/operators.coreos.com_olmconfigs.yaml index c6ebe9681..9ab891822 100644 --- a/crds/operators.coreos.com_olmconfigs.yaml +++ b/crds/operators.coreos.com_olmconfigs.yaml @@ -43,6 +43,9 @@ spec: disableCopiedCSVs: description: DisableCopiedCSVs is used to disable OLM's "Copied CSV" feature for operators installed at the cluster scope, where a cluster scoped operator is one that has been installed in an OperatorGroup that targets all namespaces. When reenabled, OLM will recreate the "Copied CSVs" for each cluster scoped operator. type: boolean + packageServerWakeupInterval: + description: PackageServerWakeupInterval is used to define the wakeup interval for packagerservers + type: string 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 6ce922fa0..b75045c0b 100644 --- a/crds/zz_defs.go +++ b/crds/zz_defs.go @@ -1,6 +1,6 @@ // Code generated by go-bindata. (@generated) DO NOT EDIT. -//Package crds generated by go-bindata.// sources: + //Package crds generated by go-bindata.// sources: // operators.coreos.com_catalogsources.yaml // operators.coreos.com_clusterserviceversions.yaml // operators.coreos.com_installplans.yaml @@ -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\xb4\x58\x6f\x6f\xdb\x46\xd2\x7f\xef\x4f\x31\xd0\xf3\x00\xb1\x73\x12\x15\x27\x87\x5c\x43\x20\x08\x02\xe5\x5c\x04\x89\xaf\x41\xec\xcb\x01\x67\xf9\xae\x43\x72\x44\x6d\x43\xee\xb2\xbb\xb3\xb6\xd5\xa2\xdf\xfd\x30\xbb\x24\x45\xc9\xa2\x63\xa0\xad\xde\x58\x9a\x9d\x9d\x9d\xbf\xbf\x99\x31\x36\xea\x0b\x59\xa7\x8c\x4e\x01\x1b\x45\x77\x4c\x5a\x7e\xb9\xe4\xeb\x77\x2e\x51\x66\x7e\x73\x7a\xf4\x55\xe9\x22\x85\x85\x77\x6c\xea\xcf\xe4\x8c\xb7\x39\xbd\xa3\x95\xd2\x8a\x95\xd1\x47\x35\x31\x16\xc8\x98\x1e\x01\xa0\xd6\x86\x51\xc8\x4e\x7e\x02\xe4\x46\xb3\x35\x55\x45\x76\x56\x92\x4e\xbe\xfa\x8c\x32\xaf\xaa\x82\x6c\x10\xde\x3d\x7d\xf3\x2c\x79\x95\x3c\x3b\x02\xc8\x2d\x85\xeb\x97\xaa\x26\xc7\x58\x37\x29\x68\x5f\x55\x47\x00\x1a\x6b\x4a\xc1\x54\x75\x6e\xf4\x4a\x95\x2e\x31\x0d\x59\x64\x63\x5d\x92\x1b\x4b\x46\xfe\xd4\x47\xae\xa1\x5c\x5e\x2e\xad\xf1\x4d\x0a\x07\x79\xa2\xac\x4e\x41\x64\x2a\x8d\x55\xdd\x6f\x80\x99\x3c\x12\xbe\x47\xc3\x7f\xf8\x78\xbe\x08\x4f\x06\x5a\xa5\x1c\x7f\xd8\xa5\x7f\x54\x8e\xc3\x59\x53\x79\x8b\xd5\x50\xc9\x40\x76\x4a\x97\xbe\x42\x3b\x38\x38\x02\x70\xb9\x69\x28\x85\x45\xe5\x1d\x93\x3d\x02\x68\x9d\xd1\xea\x31\x6b\x0d\xbe\x39\x6d\xd5\x72\xf9\x9a\x6a\xec\x94\x04\x31\x4d\xbf\xfd\xf4\xfe\xcb\x8b\x8b\xbd\x03\x80\x82\x5c\x6e\x55\xc3\xc1\xb5\xbd\x9a\xa0\x1c\x20\xd8\x36\x80\xf2\xa5\x31\xda\xa9\xac\x22\x58\x19\x0b\x51\x31\x6f\x95\x2e\xe5\x4e\x32\x90\xc7\x1b\xd1\xd4\x64\x3f\x51\xce\x03\xb2\xa5\x9f\xbd\xb2\x54\x0c\x9f\x16\xc5\xbb\x84\x18\x90\x1b\x2b\x91\xe0\x81\x97\xe3\x67\x90\x7e\x3b\xf4\x3d\x1b\x9e\x88\xa1\x91\x0f\x0a\xc9\x3c\x72\xc0\x6b\xea\x5c\x46\x45\xeb\x1d\x30\x2b\xe0\xb5\x72\x60\xa9\xb1\xe4\x48\xc7\x5c\x14\x32\xea\xd6\x80\x04\x2e\xc8\xca\x45\x70\x6b\xe3\xab\x42\x0c\xbf\x21\xcb\x60\x29\x37\xa5\x56\xbf\xf4\xd2\x1c\xb0\x09\xcf\x54\xc8\xe4\x18\x94\x66\xb2\x1a\x2b\xb8\xc1\xca\xd3\x14\x50\x17\x50\xe3\x06\x2c\x89\x5c\xf0\x7a\x20\x21\xb0\xb8\x04\xce\x8d\x25\x50\x7a\x65\x52\x58\x33\x37\x2e\x9d\xcf\x4b\xc5\x5d\x71\xe5\xa6\xae\xbd\x56\xbc\x99\x87\x3a\x51\x99\x97\x5c\x9d\x17\x74\x43\xd5\xdc\xa9\x72\x86\x36\x5f\x2b\xa6\x9c\xbd\xa5\x39\x36\x6a\x16\x94\xd5\xa1\xc0\x92\xba\xf8\xbf\x2e\x9a\xee\xc9\x9e\xfb\x62\xc8\x1c\x4b\x38\x77\x8e\x42\x4e\x3f\xe8\x6b\xc9\xee\x98\x2b\xf1\x7a\xb4\x65\xeb\x52\x21\x89\x57\x3e\xff\xfd\xe2\x72\x9b\x4e\xc1\xed\xd1\xc3\x5b\x56\xb7\x75\xb6\x38\x4a\xe9\x15\xd9\xc8\xb9\xb2\xa6\x0e\x52\x48\x17\x8d\x51\x9a\xc3\x8f\xbc\x52\xa4\x19\x9c\xcf\x6a\xc5\x2e\x24\x18\x39\x96\x38\x24\xb0\x08\xd8\x02\x19\x81\x6f\x0a\x64\x2a\x12\x78\xaf\x61\x81\x35\x55\x0b\x74\xf4\xa7\xbb\x5a\x3c\xea\x66\xe2\xbe\xc7\x3b\x7b\x08\x8d\xf7\x2f\xdc\x2b\x28\x80\x0e\xbe\x46\xa3\xd3\x57\xf3\x45\x43\xb9\x44\x49\xdc\x26\xb7\x42\x0d\xa3\x1e\x94\x7b\x17\x9a\xe4\xb1\x8f\x8f\x97\xa9\x7c\x56\x84\xe2\x9a\x03\x27\x7b\x2a\x9e\xb5\x8c\x01\xfb\x51\xe9\xa8\xa3\xe0\xa6\xd4\x61\x07\x33\x28\xb8\xf3\xc3\xc7\xf3\x5e\xee\xbe\x9a\xdf\x50\xf5\x5b\xea\x06\xb5\x94\x93\x67\x16\xa6\x51\x54\x2c\x2e\xbe\x8c\xb0\xed\xe9\xff\x6e\xff\x96\xb8\xd9\x3b\x2a\x04\x0e\x5a\x91\xa2\xf9\x13\x07\x93\xc8\x04\x8b\x8b\x2f\x93\xce\x90\x10\x88\xbe\xef\x80\xd2\x8e\xb1\xaa\xa8\x00\xec\x72\x3c\x00\x7e\xc4\xff\x29\xdc\xae\xc9\x12\xe0\x2e\xb9\xe8\x05\xc8\xdb\x46\x4b\x79\x21\xc3\x1a\x1d\x64\x44\x7a\x20\x54\xe9\x10\xf4\x96\xfb\x7b\xe9\x7a\x91\x97\xd1\x96\xc4\x0e\xb0\xaa\x62\xbb\x6b\x30\x17\x40\xfa\xd7\x9a\x34\x58\x22\x2d\x66\x14\xd3\x10\x82\x5b\x55\x55\x02\x7f\xd2\x7b\x29\x28\x39\x30\xcc\x4d\x82\x45\x84\xf9\x7a\x4c\xc9\x43\xa1\xdb\x86\x2f\x33\xa6\x22\xd4\xbb\x79\xce\xc8\xfe\x5e\x38\x46\x32\x3d\xf0\xf6\xb9\x1e\x7f\xfd\xd9\xd9\x9e\x1b\x5d\xa8\xc1\x1c\x73\x48\x28\x5a\x8b\x9b\x03\xa7\x8a\xa9\x1e\xcb\xc8\xa1\x85\x93\x45\xf7\xc8\xb6\x54\x0a\x62\x54\x55\xb4\x4f\xe2\x8e\x52\xdb\x1c\xfb\x1a\x41\xee\xad\x0d\x00\xc9\x12\xa8\xae\xd9\xbd\xfd\xf4\x1e\xba\xb9\x2c\x81\xd9\x6c\x06\x97\x42\x76\x6c\x7d\xce\xe2\x37\x69\x5c\xba\xa0\x22\x48\x2d\x94\x0d\xdd\xca\x89\x70\xf1\x61\x30\xa3\xcb\xce\x95\xa2\xaa\x80\x06\x79\x0d\x49\x74\x75\xb2\x75\x45\x02\x70\x26\xa9\x70\x87\x75\x53\xd1\x14\x96\x3a\x78\x02\xce\x8c\x69\x83\x14\xdf\xfc\x15\xe6\x73\xf8\xdc\x37\x81\x20\xd8\x64\x8e\xec\x4d\x1c\x0d\x43\x3f\x86\x95\x31\x4f\xdc\xae\x49\x89\x5c\xfc\xa0\xcd\xad\x3e\xf4\x7a\x78\x0b\x2d\xa5\xb0\x9c\xbc\xbd\x41\x55\x49\x0a\x2f\x27\x53\x58\x4e\x3e\x59\x53\x5a\x72\x32\x69\x09\x41\x3a\xf3\x72\xf2\x8e\x4a\x8b\x05\x15\xcb\x89\x88\xfd\x4b\x83\x9c\xaf\xcf\xc9\x96\xf4\x81\x36\xaf\x83\xb0\x9e\x7c\xc1\x56\xe6\xc0\xcd\xeb\x5a\xce\x03\x5d\x00\xeb\x72\xd3\xd0\xeb\x1a\x9b\x9e\x70\x8e\x4d\x7f\xb9\x8f\x9e\x83\xab\x6b\x41\xfa\x9b\xd3\x64\x1b\xd1\x1f\x7f\x72\x46\xa7\xcb\xc9\x56\xff\xa9\xa9\x25\x33\x1a\xde\x2c\x27\xb0\xf3\x6a\xba\x9c\x84\x77\x3b\x7a\xa7\x64\xba\x9c\xc8\x4b\x42\xb6\x86\x4d\xe6\x57\xe9\x72\x92\x6d\x98\xdc\xf4\x74\x6a\xa9\x99\x4a\x61\xbf\xde\xbe\xb0\x9c\xfc\x28\x31\x99\xcf\xc1\xf0\x9a\x6c\x0c\xa6\x83\xdf\x26\x07\x73\xf1\x1b\xe0\x3a\x36\xdf\x6d\x3f\x33\xa8\xd0\xf1\xa5\x45\xed\x54\x37\xb3\x8f\xb2\xd6\xe4\x1c\x96\xe3\xe7\x96\xd0\x19\x3d\x7a\x1c\xb3\x61\xf4\x58\x6c\x39\x78\xf8\xad\x16\x01\x07\x6c\x18\xe3\xdc\x2b\xdf\xfb\x17\x3b\x8c\x92\x13\x60\x21\x84\xa2\xed\x73\x82\x7b\x6e\xa9\x45\x99\x80\xa4\xc4\x5b\x44\x63\x03\xa8\x43\xdc\x92\xb6\x7e\xe3\x78\x9a\x91\xf4\x08\x1d\x44\x79\x5d\x90\xad\x36\x32\x81\x6d\xa5\xe6\x6b\xd4\xa5\x8c\x43\xf0\x7e\x15\xb1\x5f\x39\x90\x51\xe9\xab\x14\xd2\x54\x2e\x6a\xf0\xae\x1b\xdb\x82\x5e\xbd\x44\xc1\x8e\x58\xf3\xad\x98\x30\xf9\xe5\x39\x35\x2c\xd5\x35\x86\xec\x0f\xcc\x3c\xc3\xcf\xca\xd8\x1a\x39\x05\x99\xd7\x66\x3c\x9e\x1e\x6d\x72\x3c\xd2\xf1\x2d\x77\x9c\x51\xd7\xbe\x46\x69\x68\x58\x84\xbe\xdc\x9f\xe9\x42\xe5\x18\x66\xd5\x0e\x52\x31\x33\x3e\x82\xdc\x36\x0e\xad\xab\x65\x38\xcd\x48\xc0\x30\xd4\x67\x6b\xd6\xef\x34\xbe\xc6\xbb\x8f\xa4\x4b\x5e\xa7\xf0\xe2\xf9\xdf\x5e\x7e\x37\xc2\x18\x81\x91\x8a\xef\x49\x4b\x37\x3d\xb0\x0a\x8d\xb8\xe1\xfe\xc5\xc1\xe0\x1d\xec\x4c\xba\xf9\x33\x29\xb7\x3c\x71\x3a\xd8\xc9\xcb\x5b\x74\xe0\x88\x21\x43\x99\x72\x7c\x23\x7e\x11\xa0\x0f\x63\x86\xce\x69\x0a\x6a\x75\x58\x98\xea\x01\xbc\xda\xc0\xe9\xf3\x29\x64\xad\x8b\xef\xc3\xf7\xd5\xdd\x75\x72\x40\x65\xe5\xe0\xd5\x74\x4f\x1f\x99\x79\x7c\x68\x7a\x92\x38\x70\xab\x78\x1d\xd6\x55\xe9\x5b\xed\x4a\x76\xa0\x13\x52\xaf\xef\xb7\x02\x27\xfd\xb0\x0c\x3b\xf7\xe1\x4f\x97\xb6\x4a\xf3\xcb\xbf\x8e\xc7\x57\x69\x55\xfb\x3a\x85\x67\x23\x2c\x11\xd2\x1e\x19\xcd\xc8\xbc\x1d\x04\x50\xa0\xab\xb4\x58\xd7\xc8\x2a\x07\x55\xc8\x2a\xb2\x52\x64\x87\xa9\x2d\x46\xb7\x17\xa5\xb5\xef\x78\xf1\x89\x6b\x71\x68\x90\xec\x9f\xac\x29\x7c\x2e\xeb\x98\x59\x85\xad\x41\xad\x54\x3e\x04\x28\xd9\x71\x42\x35\xc4\x2d\x1b\xe8\x4e\x9c\xde\xef\xb3\x71\xe5\x25\xd4\x4a\x97\xae\x7d\x52\x96\x39\x01\x90\xd8\x75\x6f\xd7\x14\x5a\x4f\xd8\xce\xdb\x3b\x36\x68\xe5\x54\x41\x56\xc6\x60\x28\x3d\x5a\xd4\x4c\x54\x08\xfc\x48\x09\xb6\xbc\x03\xc8\xc3\xed\x66\xd7\x55\x63\x2c\xd5\x08\x56\xa2\x62\xbb\x0d\x86\x8a\xfd\xe3\x4a\xf5\xf4\xd9\xf3\x07\x43\xde\xf3\x8d\x32\x35\xc8\x4c\x56\xa7\xf0\x9f\xab\xb7\xb3\x7f\xe3\xec\x97\xeb\xe3\xf6\xcb\xb3\xd9\xab\xff\x4e\xd3\xeb\xa7\x83\x9f\xd7\x27\x6f\xfe\x7f\x44\xd2\xe1\x19\x79\x24\x7d\xda\x26\xd2\xcd\x89\x5d\x44\xa7\xa1\xc3\x98\x15\x5c\x5a\x4f\x53\x38\xc3\xca\xd1\x14\xfe\xa9\x43\x6b\xf8\x9d\x4e\x23\xed\xeb\x71\xed\xa4\x2b\x4f\xe4\xd5\xc3\xc3\x47\xcf\x12\x54\x7a\x98\xa7\x55\xf7\xa1\x25\xe3\x71\x4e\x0a\x63\x5b\xdc\x41\x3b\xa4\x19\xfc\x07\x01\x02\xe2\xc9\x58\x9a\xb4\x13\x6e\x92\x9b\x7a\x3e\xf8\x0f\x83\x8c\xd6\xe7\xa8\x37\xb0\x85\xb5\x38\x94\xee\x67\xba\x63\xc1\x26\xcc\xad\x71\xae\xdf\x4c\x1c\x54\xea\x2b\x41\x3f\xb9\x46\xb0\xcc\x28\xc7\x30\x8b\xdb\x4c\xb1\x45\xbb\x19\xac\x1e\x90\xa3\x0e\xff\xf0\x70\xb4\xf2\x15\x1c\x3b\x22\x48\xb4\x29\xe8\x3e\xba\x9e\x44\x0c\xc5\x4c\x55\x8a\x37\x61\x53\x25\x59\xb5\x2b\xd5\xae\x00\x75\x63\x2c\xa3\xe6\x58\x6e\x96\x4a\xba\x03\xc5\x50\xcb\xbc\x49\x61\xbb\x3a\x2e\xb4\x3b\x3d\x7d\xfe\xe2\xc2\x67\x85\xa9\x51\xe9\xb3\x9a\xe7\x27\x6f\x8e\x7f\xf6\x58\x09\xf2\x14\xff\xc0\x9a\xce\x6a\x3e\xf9\xe3\xda\xe2\xe9\xcb\x47\x54\xd1\xf1\x55\xac\x95\xeb\xe3\xab\x59\xfb\xed\x69\x47\x3a\x79\x73\xbc\x4c\x1e\x3c\x3f\x79\x2a\x36\x0c\x2a\xf0\xfa\x6a\xb6\x2d\xbf\xe4\xfa\xe9\xc9\x9b\xc1\xd9\x49\x57\x8c\xb1\x4f\xa5\xc0\xd6\x77\x43\x8b\x63\x63\x65\x48\xd9\xa1\xf9\xac\x0f\xef\x36\x09\xdb\xca\x85\x5f\x7f\x3b\xfa\x5f\x00\x00\x00\xff\xff\x1e\x16\x84\x1b\x60\x17\x00\x00") +var _operatorsCoreosCom_olmconfigsYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x58\xef\x6e\xdb\x46\x12\xff\xee\xa7\x18\xe8\x0e\x88\x9d\x93\xa8\x38\x3d\xe4\x1a\x01\x41\x10\x38\xe7\x22\x48\x7c\x0d\x62\x5f\x0a\x9c\xe5\xbb\x0e\xc9\x11\xb5\xf5\x72\x97\xdd\x9d\xb5\xad\x16\x7d\xf7\xc3\xec\x92\x14\x6d\x8b\xb6\x81\xb6\xfc\x22\x71\x77\x76\x76\xfe\xfe\x66\x86\xd8\xa8\xaf\xe4\xbc\xb2\x66\x01\xd8\x28\xba\x61\x32\xf2\xe6\xb3\xcb\x6f\x7d\xa6\xec\xfc\xea\x70\xef\x52\x99\x72\x01\x47\xc1\xb3\xad\xbf\x90\xb7\xc1\x15\xf4\x9e\x56\xca\x28\x56\xd6\xec\xd5\xc4\x58\x22\xe3\x62\x0f\x00\x8d\xb1\x8c\xb2\xec\xe5\x15\xa0\xb0\x86\x9d\xd5\x9a\xdc\xac\x22\x93\x5d\x86\x9c\xf2\xa0\x74\x49\x2e\x32\xef\xae\xbe\x7a\x91\xbd\xce\x5e\xec\x01\x14\x8e\xe2\xf1\x33\x55\x93\x67\xac\x9b\x05\x98\xa0\xf5\x1e\x80\xc1\x9a\x16\x60\x75\x5d\x58\xb3\x52\x95\xcf\x6c\x43\x0e\xd9\x3a\x9f\x15\xd6\x91\x95\x9f\x7a\xcf\x37\x54\xc8\xcd\x95\xb3\xa1\x59\xc0\x4e\x9a\xc4\xab\x13\x10\x99\x2a\xeb\x54\xf7\x0e\x30\x93\x4b\xe2\xff\xa4\xf8\xf7\x9f\x4e\x8e\xe2\x95\x71\x4d\x2b\xcf\x1f\x6f\xaf\x7f\x52\x9e\xe3\x5e\xa3\x83\x43\x3d\x14\x32\x2e\x7b\x65\xaa\xa0\xd1\x0d\x36\xf6\x00\x7c\x61\x1b\x5a\xc0\x91\x0e\x9e\xc9\xed\x01\xb4\xc6\x68\xe5\x98\xb5\x0a\x5f\x1d\xb6\x62\xf9\x62\x4d\x35\x76\x42\x82\xa8\x66\xde\x7d\xfe\xf0\xf5\x9b\xd3\x3b\x1b\x00\x25\xf9\xc2\xa9\x86\xa3\x69\x7b\x31\x41\x79\x40\x70\xad\x03\xe5\x4f\x63\x8d\x57\xb9\x26\x58\x59\x07\x49\xb0\xe0\x94\xa9\xe4\x4c\x36\xe0\xc7\x1b\x91\xd4\xe6\x3f\x51\xc1\x83\x65\x47\x3f\x07\xe5\xa8\x1c\x5e\x2d\x82\x77\x01\x31\x58\x6e\x9c\x78\x82\x07\x56\x4e\xcf\x20\xfc\x6e\xad\xdf\xd1\xe1\x99\x28\x9a\xe8\xa0\x94\xc8\x23\x0f\xbc\xa6\xce\x64\x54\xb6\xd6\x01\xbb\x02\x5e\x2b\x0f\x8e\x1a\x47\x9e\x4c\x8a\x45\x59\x46\xd3\x2a\x90\xc1\x29\x39\x39\x08\x7e\x6d\x83\x2e\x45\xf1\x2b\x72\x0c\x8e\x0a\x5b\x19\xf5\x4b\xcf\xcd\x03\xdb\x78\x8d\x46\x26\xcf\xa0\x0c\x93\x33\xa8\xe1\x0a\x75\xa0\x29\xa0\x29\xa1\xc6\x0d\x38\x12\xbe\x10\xcc\x80\x43\x24\xf1\x19\x9c\x58\x47\xa0\xcc\xca\x2e\x60\xcd\xdc\xf8\xc5\x7c\x5e\x29\xee\x92\xab\xb0\x75\x1d\x8c\xe2\xcd\x3c\xe6\x89\xca\x83\xc4\xea\xbc\xa4\x2b\xd2\x73\xaf\xaa\x19\xba\x62\xad\x98\x0a\x0e\x8e\xe6\xd8\xa8\x59\x14\xd6\xc4\x04\xcb\xea\xf2\x2f\x9d\x37\xfd\xb3\x3b\xe6\x4b\x2e\xf3\x2c\xee\xbc\xb5\x15\x63\xfa\x41\x5b\x4b\x74\xa7\x58\x49\xc7\x93\x2e\x5b\x93\xca\x92\x58\xe5\xcb\x3f\x4f\xcf\xb6\xe1\x14\xcd\x9e\x2c\xbc\x25\xf5\x5b\x63\x8b\xa1\x94\x59\x91\x4b\x94\x2b\x67\xeb\xc8\x85\x4c\xd9\x58\x65\x38\xbe\x14\x5a\x91\x61\xf0\x21\xaf\x15\xfb\x18\x60\xe4\x59\xfc\x90\xc1\x51\xc4\x16\xc8\x09\x42\x53\x22\x53\x99\xc1\x07\x03\x47\x58\x93\x3e\x42\x4f\x7f\xba\xa9\xc5\xa2\x7e\x26\xe6\x7b\xba\xb1\x87\xd0\x78\xff\xc0\xbd\x84\x02\xe8\xe0\x6b\xd4\x3b\x7d\x36\x9f\x36\x54\x88\x97\xc4\x6c\x72\x2a\xe6\x30\x9a\x41\xba\x77\xae\xc9\x9e\x7a\xf9\x78\x9a\xca\xb3\x22\x14\xd3\xec\xd8\xb9\x23\xe2\x71\x4b\x18\xb1\x1f\x95\x49\x32\x0a\x6e\x4a\x1e\x76\x30\x83\x82\x3b\xdf\x7f\x3a\xe9\xf9\xde\x15\xf3\x11\x51\x1f\x13\x37\x8a\xa5\xbc\x5c\x73\x64\x1b\x45\xe5\xd1\xe9\xd7\x11\xb2\x3b\xf2\xbf\xbf\x7b\x4a\xcc\x1c\x3c\x95\x02\x07\x2d\x4b\x91\xfc\x99\x87\x49\x22\x82\xa3\xd3\xaf\x93\x4e\x91\xe8\x88\xbe\xee\x80\x32\x9e\x51\x6b\x2a\x01\xbb\x18\x8f\x80\x9f\xf0\x7f\x0a\xd7\x6b\x72\x04\x78\x7b\xb9\xec\x19\xc8\xdd\xd6\x48\x7a\x21\xc3\x1a\x3d\xe4\x44\x66\xc0\x54\x99\xe8\xf4\x96\xfa\x3b\xa9\x7a\x89\x96\xd1\x55\xc4\x1e\x50\xeb\x54\xee\x1a\x2c\x04\x90\x7e\x58\x93\x01\x47\x64\x44\x8d\x72\x1a\x5d\x70\xad\xb4\x16\xf8\x93\xda\x4b\x51\xc8\x81\x62\x7e\x12\x35\x22\x2c\xd6\x63\x42\xee\x72\xdd\xd6\x7d\xb9\xb5\x9a\xd0\xec\xa4\x69\xb0\xb8\xc4\x8a\x12\x48\xfc\x80\x97\x14\x9a\x0f\x82\xb2\x57\xa8\x9f\xe4\xab\xcf\xe3\xe7\x6f\x79\x2d\xd6\x8c\xa8\xd9\x75\x24\x4a\x58\x2e\x54\xa2\x5b\x2b\x85\xf3\x09\xab\x1e\xd4\x66\x47\x96\x7b\x46\x0e\xf7\x62\x6b\x24\x6d\x23\x6d\x9f\xb8\xe9\xed\xcf\x4e\xdd\xc2\x9a\x52\x0d\x9a\xb2\x5d\x4c\xd1\x39\xdc\xec\xd8\x55\x4c\xf5\x58\x7a\x0d\x35\x9c\x1c\x75\x97\x6c\xf3\xbe\x24\x46\xa5\x93\x7e\x12\xc4\x28\x40\xc5\xa9\x48\x13\x14\xc1\xb9\x88\xf6\x2c\x51\xd7\x55\xee\x77\x9f\x3f\x40\xd7\x64\x66\x30\x9b\xcd\xe0\x4c\x96\x3d\xbb\x50\xb0\xd8\x4d\x3c\x67\x4a\x2a\x23\xd7\x52\xb9\x58\x7a\xbd\x30\x17\x1b\x46\x35\xba\x54\x5b\x29\xd2\x25\x34\xc8\x6b\xc8\x92\xa9\xb3\xad\x29\x32\x80\x63\x89\xeb\x1b\xac\x1b\x4d\x53\x58\x9a\x68\x09\x38\xb6\xb6\x75\x52\xba\xf3\x57\x98\xcf\xe1\x4b\x5f\xd1\x22\x63\x9b\x4b\xa8\xa4\x3e\x37\x36\x17\xb0\xb2\xf6\x99\xbf\xad\x52\x26\x07\x3f\x1a\x7b\x6d\x76\xdd\x1e\xef\x42\x47\x0b\x58\x4e\xde\x5d\xa1\xd2\x92\x8f\xcb\xc9\x14\x96\x93\xcf\xce\x56\x8e\xbc\xb4\x8d\xb2\x20\x6d\xc6\x72\xf2\x9e\x2a\x87\x25\x95\xcb\x89\xb0\xfd\x5b\x83\x5c\xac\x4f\xc8\x55\xf4\x91\x36\x6f\x22\xb3\x7e\xf9\x94\x9d\x34\xb5\x9b\x37\xb5\xec\xc7\x75\x41\xdf\xb3\x4d\x43\x6f\x6a\x6c\xfa\x85\x13\x6c\xfa\xc3\xbd\xf7\x3c\x9c\x5f\x48\xd9\xba\x3a\xcc\xb6\x1e\xfd\xf1\x27\x6f\xcd\x62\x39\xd9\xca\x3f\xb5\xb5\x44\x46\xc3\x9b\xe5\x04\x6e\xdd\xba\x58\x4e\xe2\xbd\xdd\x7a\x27\xe4\x62\x39\x91\x9b\x64\xd9\x59\xb6\x79\x58\x2d\x96\x93\x7c\xc3\xe4\xa7\x87\x53\x47\xcd\x54\x50\xea\xcd\xf6\x86\xe5\xe4\x47\xf1\xc9\x7c\x0e\x96\xd7\xe4\x92\x33\x3d\xfc\x36\xd9\x19\x8b\x8f\x54\x8a\xb1\x66\x75\xfb\xcc\x40\xa3\xe7\x33\x87\xc6\xab\x6e\x00\x19\x25\xad\xc9\x7b\xac\xc6\xf7\x1d\xa1\xb7\xbb\x11\x4f\xb6\x53\x34\x8c\x6e\x8b\x2e\xbb\xd1\xf2\x91\x7a\x07\x3b\x74\x18\xa3\xbc\x93\xbe\xf7\x0f\x76\x18\x25\x3b\xc0\xb2\x10\x93\xb6\x8f\x09\xee\xa9\x25\x17\xa5\x9d\x93\x14\x6f\x11\x8d\x2d\xa0\x89\x7e\xcb\xda\xfc\x4d\xbd\x76\x4e\x52\xf0\x4c\x64\x15\x4c\x49\x4e\x6f\xa4\x9d\xdc\x72\x2d\xd6\x68\x2a\xe9\xed\xe0\xc3\x2a\x15\x32\xe5\x41\xfa\xbe\x4b\x49\xa4\xa9\x1c\x34\x10\x7c\xd7\x83\x46\xb9\x7a\x8e\x82\x1d\x29\xe7\x5b\x36\xb1\x8d\x2d\x0a\x6a\x58\xb2\x6b\xac\x4c\x3d\x00\xed\xc3\x67\x65\x5d\x8d\xbc\x00\x69\x3e\x67\x3c\x1e\x1e\x6d\x70\x3c\xd1\xf0\x2d\x75\x6a\xb8\xd7\xa1\x46\xa9\xce\x58\xc6\x26\xa3\xdf\x33\xa5\x2a\x30\x36\xde\x1d\xa4\x62\x6e\x43\x02\xb9\xad\x1f\x5a\x53\x4b\xa7\x9d\x93\x80\x61\xcc\xcf\x56\xad\xdf\xa9\x7c\x8d\x37\x9f\xc8\x54\xbc\x5e\xc0\x37\x2f\xff\xf1\xea\xdb\x11\xc2\x04\x8c\x54\x7e\x47\x46\x5a\x83\x1d\x73\xdd\x88\x19\xee\x1f\x1c\x4c\x11\x51\xcf\xac\x6b\xa6\xb3\x6a\x4b\x93\x5a\x9d\x5b\x71\x79\x8d\x1e\x3c\x31\xe4\x28\xc5\x3f\x34\x62\x17\x01\xfa\xd8\x33\x99\x82\xa6\xa0\x56\xbb\x99\xa9\x1e\xc0\xf5\x06\x0e\x5f\x4e\x21\x6f\x4d\x7c\x1f\xbe\xcf\x6f\x2e\xb2\x1d\x22\x2b\x0f\xaf\xa7\x77\xe4\x91\x06\x2e\xc4\xa2\x27\x81\x03\xd7\x8a\xd7\x71\xf6\x96\xba\xd5\xce\x97\x3b\x2a\x21\xf5\xf2\x3e\xe6\x38\xa9\x87\x55\xfc\x80\xb0\xfb\xe9\xc2\x56\x19\x7e\xf5\xf7\x71\xff\x2a\xa3\xea\x50\x2f\xe0\xc5\x08\x49\x82\xb4\x27\x7a\x33\x11\x6f\x1b\x01\x14\xe8\xaa\x1c\xd6\x35\xb2\x2a\x40\x95\x32\x57\xad\x14\xb9\x61\x68\x8b\xd2\xed\x41\x29\xed\xb7\xac\xf8\xcc\xb7\x38\x34\x08\xf6\xcf\xce\x96\xa1\x90\xd9\xd2\xae\xe2\x08\xa4\x56\xaa\x18\x02\x94\x0c\x6c\x31\x1b\xda\xf6\x8f\x6e\xc4\xe8\xfd\x70\x9e\xe6\x77\x42\xa3\x4c\xe5\xdb\x2b\x65\x32\x15\x00\x49\x55\xf7\x7a\x4d\xb1\xf4\xc4\x4f\x0d\xed\x19\x17\xa5\xf2\xaa\x24\x27\x3d\x3d\x54\x01\x1d\x1a\x26\x2a\x05\x7e\x24\x05\x5b\xda\x01\xe4\xe1\x76\x4c\xed\xb2\x31\xa5\x6a\x02\x2b\x11\xb1\x1d\x6d\x63\xc6\xfe\x71\xa9\x7a\xf8\xe2\xe5\x83\x2e\xef\xe9\x46\x89\x1a\x64\x26\x67\x16\xf0\xdf\xf3\x77\xb3\xff\xe0\xec\x97\x8b\xfd\xf6\xcf\x8b\xd9\xeb\xff\x4d\x17\x17\xcf\x07\xaf\x17\x07\x6f\xff\x3a\xc2\x69\x77\x8f\x3c\x12\x3e\x6d\x11\xe9\xfa\xc4\xce\xa3\xd3\x58\x61\xec\x0a\xce\x5c\xa0\x29\x1c\xa3\xf6\x34\x85\x7f\x9b\x58\x1a\x7e\xa7\xd1\xc8\x84\x7a\x5c\x3a\xa9\xca\x13\xb9\x75\x77\xf3\xd1\x93\x44\x91\x1e\xa6\x69\xc5\x7d\x68\xc6\x78\x9a\x91\x62\xdb\x96\x06\xea\x0e\x69\x06\x9f\x43\x20\x22\x9e\xb4\xa5\x59\xdb\xe1\x66\x85\xad\xe7\x83\xcf\x25\xd2\x5a\x9f\xa0\xd9\xc0\x16\xd6\x52\x53\x7a\x37\xd2\x3d\x0b\x36\x61\xe1\xac\xf7\xfd\x64\xe2\x41\xab\x4b\x82\xbe\x73\x4d\x60\x99\x53\x81\xb1\x17\x77\xb9\x62\x87\x6e\x33\x18\x3d\xa0\x40\x13\xbf\xde\x78\x5a\x05\x0d\xfb\x9e\x08\x32\x63\x4b\xba\x8f\xae\x07\x09\x43\x31\x57\x5a\xf1\x26\x0d\x70\x85\x35\x2b\xad\xda\x11\xa0\x6e\xac\x63\x34\x9c\xd2\xcd\x51\x45\x37\xa0\x18\x6a\xe9\x37\x29\x4e\x57\xfb\xa5\xf1\x87\x87\x2f\xbf\x39\x0d\x79\x69\x6b\x54\xe6\xb8\xe6\xf9\xc1\xdb\xfd\x9f\x03\x6a\x41\x9e\xf2\x5f\x58\xd3\x71\xcd\x07\x7f\x5c\x59\x3c\x7c\xf5\x84\x2c\xda\x3f\x4f\xb9\x72\xb1\x7f\x3e\x6b\xff\x3d\xef\x96\x0e\xde\xee\x2f\xb3\x07\xf7\x0f\x9e\x8b\x0e\x83\x0c\xbc\x38\x9f\x6d\xd3\x2f\xbb\x78\x7e\xf0\x76\xb0\x77\xd0\x25\x63\xaa\x53\x0b\x60\x17\xba\xa6\xc5\xb3\x75\xd2\xa4\xdc\x5a\x0b\x79\xef\xde\x6d\x10\xb6\x99\x0b\xbf\xfe\xb6\xf7\xff\x00\x00\x00\xff\xff\xbd\xbc\x83\x2d\x2d\x18\x00\x00") func operatorsCoreosCom_olmconfigsYamlBytes() ([]byte, error) { return bindataRead( @@ -311,13 +311,11 @@ var _bindata = map[string]func() (*asset, error){ // directory embedded in the file by go-bindata. // For example if you run go-bindata on data/... and data contains the // following hierarchy: -// -// data/ -// foo.txt -// img/ -// a.png -// b.png -// +// data/ +// foo.txt +// img/ +// a.png +// b.png // then AssetDir("data") would return []string{"foo.txt", "img"} // AssetDir("data/img") would return []string{"a.png", "b.png"} // AssetDir("foo.txt") and AssetDir("notexist") would return an error diff --git a/pkg/operators/v1/olmconfig_test.go b/pkg/operators/v1/olmconfig_test.go index 5ea9bce27..9201b2b64 100644 --- a/pkg/operators/v1/olmconfig_test.go +++ b/pkg/operators/v1/olmconfig_test.go @@ -2,14 +2,85 @@ package v1 import ( "testing" + "time" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) func boolPointer(in bool) *bool { return &in } +func TestPackageServerWakeupInterval(t *testing.T) { + five := time.Minute * 5 + one := time.Second * 60 + fiveParsed, err := time.ParseDuration("5m") + assert.NoError(t, err) + + oneParsed, err := time.ParseDuration("60s") + assert.NoError(t, err) + + tests := []struct { + description string + olmConfig *OLMConfig + expected *time.Duration + }{ + { + description: "NilConfig", + olmConfig: nil, + expected: nil, + }, + { + description: "MissingSpec", + olmConfig: &OLMConfig{}, + expected: nil, + }, + { + description: "MissingFeatures", + olmConfig: &OLMConfig{ + Spec: OLMConfigSpec{}, + }, + expected: nil, + }, + { + description: "MissingPackageServerInterval", + olmConfig: &OLMConfig{ + Spec: OLMConfigSpec{}, + }, + expected: nil, + }, + { + description: "PackageServerInterval5m", + olmConfig: &OLMConfig{ + Spec: OLMConfigSpec{ + Features: &Features{ + PackageServerWakeupInterval: &metav1.Duration{Duration: fiveParsed}, + }, + }, + }, + expected: &five, + }, + { + description: "PackageServerInterval60s", + olmConfig: &OLMConfig{ + Spec: OLMConfigSpec{ + Features: &Features{ + PackageServerWakeupInterval: &metav1.Duration{Duration: oneParsed}, + }, + }, + }, + expected: &one, + }, + } + + for _, tt := range tests { + t.Run(tt.description, func(t *testing.T) { + require.EqualValues(t, tt.expected, tt.olmConfig.PackageServerWakeupInterval()) + }) + } +} func TestCopiedCSVsAreEnabled(t *testing.T) { tests := []struct { description string diff --git a/pkg/operators/v1/olmconfig_types.go b/pkg/operators/v1/olmconfig_types.go index f1135e6a3..befd636c5 100644 --- a/pkg/operators/v1/olmconfig_types.go +++ b/pkg/operators/v1/olmconfig_types.go @@ -1,6 +1,8 @@ package v1 import ( + "time" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) @@ -23,6 +25,9 @@ type Features struct { // When reenabled, OLM will recreate the "Copied CSVs" for each // cluster scoped operator. DisableCopiedCSVs *bool `json:"disableCopiedCSVs,omitempty"` + // PackageServerWakeupInterval is used to define the wakeup interval + // for packagerservers + PackageServerWakeupInterval *metav1.Duration `json:"packageServerWakeupInterval,omitempty"` } // OLMConfigStatus is the status for an OLMConfig resource. @@ -69,3 +74,10 @@ func (config *OLMConfig) CopiedCSVsAreEnabled() bool { return !*config.Spec.Features.DisableCopiedCSVs } + +func (config *OLMConfig) PackageServerWakeupInterval() *time.Duration { + if config == nil || config.Spec.Features == nil || config.Spec.Features.PackageServerWakeupInterval == nil { + return nil + } + return &config.Spec.Features.PackageServerWakeupInterval.Duration +} diff --git a/pkg/operators/v1/zz_generated.deepcopy.go b/pkg/operators/v1/zz_generated.deepcopy.go index 89a3007bc..156138dfa 100644 --- a/pkg/operators/v1/zz_generated.deepcopy.go +++ b/pkg/operators/v1/zz_generated.deepcopy.go @@ -84,6 +84,11 @@ func (in *Features) DeepCopyInto(out *Features) { *out = new(bool) **out = **in } + if in.PackageServerWakeupInterval != nil { + in, out := &in.PackageServerWakeupInterval, &out.PackageServerWakeupInterval + *out = new(metav1.Duration) + **out = **in + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Features.