Description of problem: When create app from image, and set hpa at the same time, on the page "/create/fromimage?", after creation, the hpa has incorrect ref apiversion and could not work normally Version-Release number of selected component (if applicable): openshift v3.10.0-0.64.0 kubernetes v1.10.0+b81c8f8 How reproducible: Always Steps to Reproduce: 1.Create app from image, and set auto scaling in advanced options 2.Check ref apiversion in hpa. 3.Check event. Actual results: 2.$ oc get hpa pytest -o yaml |grep scaleTargetRef -A 3 scaleTargetRef: apiVersion: extensions/v1beta1 kind: DeploymentConfig name: pytest 3. Check on the events page, there is warning info: pytest Horizontal Pod Autoscaler Warning Failed Get Scale no matches for kind "DeploymentConfig" in group "extensions" Expected results: 2.Should have correct ref apiversion Additional info:
https://github.com/openshift/origin-web-console/pull/3024
Commits pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/22684c2a29e0e6c84a6c0dd00f69ef2e419b07fe Bug 1590106 - Fix HPA target resource for new app flow Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1590106 https://github.com/openshift/origin-web-console/commit/0360c0443d760bbcb342d1476f0199761ee6f330 Merge pull request #3024 from spadgett/fix-hpa Bug 1590106 - Fix HPA target resource for new app flow
Checked on OCP v3.10.1. Created hpa with new app flow on web console, the target resource api version is "apps.openshift.io/v1". The bug has been fixed, so move it to Verified.