-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
4.14
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Trying to use machineconfig to remove kernelarguments but error with validation.
Version-Release number of selected component (if applicable):
4.14 -4.16
How reproducible:
100
Steps to Reproduce:
1. Create object
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: worker
name: 08-worker-kernelarg-console-remove
spec:
kernelArguments:
should_not_exist:
- console=ttyS0,115200n8
Actual results:
The MachineConfig "08-worker-kernelarg-console-remove" is invalid: spec.kernelArguments: Invalid value: "object": spec.kernelArguments in body must be of type array: "object"
Expected results:
To work based on ignition config spec 3.4 https://coreos.github.io/ignition/configuration-v3_4/
Additional info:
- is related to
-
MCO-1510 Unify kernelArguments field in MachineConfig schema
-
- To Do
-