-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.12.z
-
No
-
ODC Sprint 3250
-
1
-
Rejected
-
False
-
-
Release Note Not Required
-
In Progress
Description of problem:
In local setup this error appears when creating a deployment with scaling in the git form page locally: `Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal string into Go struct field DeploymentSpec.spec.replicas of type int32`
Version-Release number of selected component (if applicable):
4.16.0-0.nightly-2024-01-05-154400
How reproducible:
Everytime
Steps to Reproduce:
1. In the local setup go to the git form page 2. Enter a git repo and select deployment as the resource type 3. In scaling enter the value as '5' and click on Create button
Actual results:
Got this error: "Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal string into Go struct field DeploymentSpec.spec.replicas of type int32"
Expected results:
Deployment should be created
Additional info:
Happening with Deployment-config creation as well
- blocks
-
OCPBUGS-31046 Application creation fail when manually entering input scaling value in local setup
- Closed
- is cloned by
-
OCPBUGS-31046 Application creation fail when manually entering input scaling value in local setup
- Closed
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update