Fix API_PREFERRED_VERSIONS autoscalers -> horizontalpodautoscalers

parent 91fec514
...@@ -1425,7 +1425,6 @@ angular.module('openshiftCommonUI') ...@@ -1425,7 +1425,6 @@ angular.module('openshiftCommonUI')
angular.module('openshiftCommonServices') angular.module('openshiftCommonServices')
.constant('API_PREFERRED_VERSIONS', { .constant('API_PREFERRED_VERSIONS', {
autoscaling: {group: 'autoscaling', resource: 'horizontalpodautoscalers' },
appliedclusterresourcequotas: {group: 'quota.openshift.io', resource: 'appliedclusterresourcequotas' }, appliedclusterresourcequotas: {group: 'quota.openshift.io', resource: 'appliedclusterresourcequotas' },
builds: {group: 'build.openshift.io', resource: 'builds' }, builds: {group: 'build.openshift.io', resource: 'builds' },
'builds/clone': {group: 'build.openshift.io', resource: 'builds/clone' }, 'builds/clone': {group: 'build.openshift.io', resource: 'builds/clone' },
...@@ -1434,7 +1433,10 @@ angular.module('openshiftCommonServices') ...@@ -1434,7 +1433,10 @@ angular.module('openshiftCommonServices')
configmaps: 'configmaps', configmaps: 'configmaps',
deployments: {group: 'apps', resource: 'deployments' }, deployments: {group: 'apps', resource: 'deployments' },
deploymentconfigs: {group: 'apps.openshift.io', resource: 'deploymentconfigs' }, deploymentconfigs: {group: 'apps.openshift.io', resource: 'deploymentconfigs' },
'deploymentconfigs/instantiate': {group: 'apps.openshift.io', resource: 'deploymentconfigs/instantiate' },
'deploymentconfigs/rollback': {group: 'apps.openshift.io', resource: 'deploymentconfigs/rollback' },
events: 'events', events: 'events',
horizontalpodautoscalers: {group: 'autoscaling', resource: 'horizontalpodautoscalers' },
imagestreams: {group: 'image.openshift.io', resource: 'imagestreams' }, imagestreams: {group: 'image.openshift.io', resource: 'imagestreams' },
imagestreamtags: {group: 'image.openshift.io', resource: 'imagestreamtags' }, imagestreamtags: {group: 'image.openshift.io', resource: 'imagestreamtags' },
limitranges: 'limitranges', limitranges: 'limitranges',
......
...@@ -486,10 +486,6 @@ content ? (scope.truncatedContent = truncateFilter(content, scope.limit, scope.u ...@@ -486,10 +486,6 @@ content ? (scope.truncatedContent = truncateFilter(content, scope.limit, scope.u
} }
}; };
} ]), angular.module("openshiftCommonServices").constant("API_PREFERRED_VERSIONS", { } ]), angular.module("openshiftCommonServices").constant("API_PREFERRED_VERSIONS", {
autoscaling:{
group:"autoscaling",
resource:"horizontalpodautoscalers"
},
appliedclusterresourcequotas:{ appliedclusterresourcequotas:{
group:"quota.openshift.io", group:"quota.openshift.io",
resource:"appliedclusterresourcequotas" resource:"appliedclusterresourcequotas"
...@@ -519,7 +515,19 @@ deploymentconfigs:{ ...@@ -519,7 +515,19 @@ deploymentconfigs:{
group:"apps.openshift.io", group:"apps.openshift.io",
resource:"deploymentconfigs" resource:"deploymentconfigs"
}, },
"deploymentconfigs/instantiate":{
group:"apps.openshift.io",
resource:"deploymentconfigs/instantiate"
},
"deploymentconfigs/rollback":{
group:"apps.openshift.io",
resource:"deploymentconfigs/rollback"
},
events:"events", events:"events",
horizontalpodautoscalers:{
group:"autoscaling",
resource:"horizontalpodautoscalers"
},
imagestreams:{ imagestreams:{
group:"image.openshift.io", group:"image.openshift.io",
resource:"imagestreams" resource:"imagestreams"
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
angular.module('openshiftCommonServices') angular.module('openshiftCommonServices')
.constant('API_PREFERRED_VERSIONS', { .constant('API_PREFERRED_VERSIONS', {
autoscaling: {group: 'autoscaling', resource: 'horizontalpodautoscalers' },
appliedclusterresourcequotas: {group: 'quota.openshift.io', resource: 'appliedclusterresourcequotas' }, appliedclusterresourcequotas: {group: 'quota.openshift.io', resource: 'appliedclusterresourcequotas' },
builds: {group: 'build.openshift.io', resource: 'builds' }, builds: {group: 'build.openshift.io', resource: 'builds' },
'builds/clone': {group: 'build.openshift.io', resource: 'builds/clone' }, 'builds/clone': {group: 'build.openshift.io', resource: 'builds/clone' },
...@@ -11,7 +10,10 @@ angular.module('openshiftCommonServices') ...@@ -11,7 +10,10 @@ angular.module('openshiftCommonServices')
configmaps: 'configmaps', configmaps: 'configmaps',
deployments: {group: 'apps', resource: 'deployments' }, deployments: {group: 'apps', resource: 'deployments' },
deploymentconfigs: {group: 'apps.openshift.io', resource: 'deploymentconfigs' }, deploymentconfigs: {group: 'apps.openshift.io', resource: 'deploymentconfigs' },
'deploymentconfigs/instantiate': {group: 'apps.openshift.io', resource: 'deploymentconfigs/instantiate' },
'deploymentconfigs/rollback': {group: 'apps.openshift.io', resource: 'deploymentconfigs/rollback' },
events: 'events', events: 'events',
horizontalpodautoscalers: {group: 'autoscaling', resource: 'horizontalpodautoscalers' },
imagestreams: {group: 'image.openshift.io', resource: 'imagestreams' }, imagestreams: {group: 'image.openshift.io', resource: 'imagestreams' },
imagestreamtags: {group: 'image.openshift.io', resource: 'imagestreamtags' }, imagestreamtags: {group: 'image.openshift.io', resource: 'imagestreamtags' },
limitranges: 'limitranges', limitranges: 'limitranges',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment