-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
4.21.0
-
None
-
False
-
-
None
-
Important
-
None
-
None
-
Rejected
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
when executing hypershift install on 4.15, the following error occurs when adding custom resource definitions
Error: CustomResourceDefinition.apiextensions.k8s.io "hostedclusters.hypershift.openshift.io" is invalid: spec.validation.openAPIV3Schema.properties[spec].x-kubernetes-validations[8].rule: Invalid value: apiextensions.ValidationRule{Rule:"self.networking.networkType == 'OVNKubernetes' || !self.?operatorConfiguration.clusterNetworkOperator.ovnKubernetesConfig.hasValue()", Message:"ovnKubernetesConfig is forbidden when networkType is not OVNKubernetes", MessageExpression:"", Reason:(*apiextensions.FieldValueErrorReason)(nil), FieldPath:""}: compilation failed: ERROR: <input>:1:56: unsupported syntax '.?' | self.networking.networkType == 'OVNKubernetes' || !self.?operatorConfiguration.clusterNetworkOperator.ovnKubernetesConfig.hasValue()
this validation will need to be updated to be compatible with the 4.15 apiserver
- relates to
-
OCPBUGS-63223 Invalid CEL in HyperShift HostedCluster CRDs
-
- New
-
- links to