Description of problem: The "resourceRequirements" specDescriptor fields- cpu or memory is injected with empty value into YAML when user enters either one or the other.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Installed "Couchbase Operator" from 'OperatorHub' view
2. Go to 'Installed Operators' view and find "Couchbase Operator"
3. Click "Create instance" link for "Couchbase Cluster"
4. Click "Edit form" link
5. Find "Resource Requirements" widget
6. Enter value for CPU only and submit form
7. Open YAML editor
Memory field is injected with empty value to YAML
Memory field shouldn't be injected with empty value to YAML
Created attachment 1657422 [details]
Created attachment 1657641 [details]
create cr resource such as etcdcluster via form, enter value for CPU only and submit form.
Then got the yaml as bellow:
Verified this bug. 4.4.0-0.nightly-2020-02-16-205302
This bug PR depends on PR- https://github.com/openshift/console/pull/4191 to work as expected. The PR https://github.com/openshift/console/pull/4191 would be merge soon.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.