-
Task
-
Resolution: Won't Do
-
Normal
-
None
-
False
-
-
False
-
-
-
None
Description of problem:
NMStateConfig example syntax fails because it is missing desiredState
The current doc example uses
spec:
config:
interfaces:
this fails with:
The NodeNetworkConfigurationPolicy "<name>" is invalid: spec.desiredState: Invalid value: "null": spec.desiredState in body must be of type object: "null"
This example should be adjusted to use desiredState, ex:
spec:
desiredState:
interfaces:
Version-Release number of selected component (if applicable):
OCP 4.14.21 multicluster-engine.v2.5.3 kubernetes-nmstate-operator.4.14.0-202406060838
How reproducible:
Anytime "config" example is used
Steps to Reproduce:
1. Apply NMStateConfig following doc yaml
2. Error
Actual results:
NMStateConfig is not applied
Expected results:
Valid doc example