-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
1
-
False
-
-
False
-
---
-
---
-
-
Yes
-
No
Description of problem:
Example yaml for disabling boot import is incorrect. In the example documentation it says to add a section with the annotation: ``` dataimportcrontemplate.kubevirt.io/enable: false ``` however that is not valid and the webhook validator throws an error. The proper string should be ``` dataimportcrontemplate.kubevirt.io/enable: 'false' ``` Note the single quotes around the term false. Once you have added the single quotes around false the change takes effect.
Version-Release number of selected component (if applicable):
4.14.12 of OpenShift 4.14.3 of OpenShift Virt
How reproducible:
every time
Steps to Reproduce:
1.Follow the instructions for "Disabling automatic updates for a single boot source" in the source documentation 2. ensure you copy/paste what is in the example yaml 3. you will get an error saying that the webhook could not validate the change 4. put single quotes around the false word, the change will be applied
Actual results:
Change fails due to webhook validation
Expected results:
Change should apply using the example yaml
Additional info: