You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# cat catalog.yaml kind: ThirdPartyResourceapiVersion: extensions/v1beta1metadata:
name: catalog.alpha.redhat.comdescription: "A specification of a catalog of resources"versions:
- name: v1alpha1# cat catalog-entry.yaml kind: ThirdPartyResourceapiVersion: extensions/v1beta1metadata:
name: catalog-entry.alpha.redhat.comdescription: "A specification of a resource in a catalog"versions:
- name: v1alpha1
Both show up in the ThirdPartyResourceList...
curl http://127.0.0.1:8080/apis/extensions/v1beta1/thirdpartyresources
{
"kind": "ThirdPartyResourceList",
"apiVersion": "extensions/v1beta1",
"metadata": {
"selfLink": "/apis/extensions/v1beta1/thirdpartyresources",
"resourceVersion": "75"
},
"items": [
{
"metadata": {
"name": "catalog-entry.alpha.redhat.com",
"selfLink": "/apis/extensions/v1beta1/thirdpartyresources/catalog-entry.alpha.redhat.com",
"uid": "8c4a60e0-1889-11e6-bfe6-bc5ff47352bf",
"resourceVersion": "25",
"creationTimestamp": "2016-05-12T21:36:12Z"
},
"description": "A specification of a resource in a catalog",
"versions": [
{
"name": "v1alpha1"
}
]
},
{
"metadata": {
"name": "catalog.alpha.redhat.com",
"selfLink": "/apis/extensions/v1beta1/thirdpartyresources/catalog.alpha.redhat.com",
"uid": "89a0a0c8-1889-11e6-bfe6-bc5ff47352bf",
"resourceVersion": "23",
"creationTimestamp": "2016-05-12T21:36:07Z"
},
"description": "A specification of a catalog of resources",
"versions": [
{
"name": "v1alpha1"
}
]
}
]
}
If I reverse the order in which they are created, the first one is always the one that gets installed.
The text was updated successfully, but these errors were encountered:
sjenning
changed the title
Only the first ThirdPartyResource created in a groupVersion actually usable
Only the first ThirdPartyResource created in a groupVersion actually installed
May 13, 2016
Automatic merge from submit-queue
Fix third party APIResource reporting
@polvi@caesarxuchao@deads2k
This "fixes" some additional bugs in third party `APIResourceList` reporting.
This code needs a bunch of cleanup, and more tests, but sending it out for a quick smell check review in case I'm doing something stupid.
Fixes the bug referenced here: #28414 (comment) and in #23831Fixes#25570
I create two TPRs:
Both show up in the ThirdPartyResourceList...
but only the first is actually installed.
If I reverse the order in which they are created, the first one is always the one that gets installed.
The text was updated successfully, but these errors were encountered: