-
Task
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
False
-
False
-
Undefined
-
All CRD's defined in manifests directory install successfully, except by the SMCP v2:
$ oc apply -f manifests/maistra.io_servicemeshcontrolplanes.yaml W0505 13:30:59.645781 92328 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition Warning: resource customresourcedefinitions/servicemeshcontrolplanes.maistra.io is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by oc apply. oc apply should only be used on resources created declaratively by either oc create --save-config or oc apply. The missing annotation will be patched automatically. W0505 13:31:01.401922 92328 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition The CustomResourceDefinition "servicemeshcontrolplanes.maistra.io" is invalid: * metadata.annotations: Too long: must have at most 262144 bytes * spec.versions[1].schema.openAPIV3Schema.properties[status].properties[appliedSpec].properties[gateways].properties[additionalEgress].additionalProperties.properties[service].properties[ports].items.properties[protocol].default: Forbidden: must not be set (cannot set default values in apiextensions.k8s.io/v1beta1 CRDs, must use apiextensions.k8s.io/v1) * spec.versions[1].schema.openAPIV3Schema.properties[status].properties[appliedSpec].properties[gateways].properties[additionalIngress].additionalProperties.properties[service].properties[ports].items.properties[protocol].default: Forbidden: must not be set (cannot set default values in apiextensions.k8s.io/v1beta1 CRDs, must use apiextensions.k8s.io/v1) ... similar errors follow ...
Seems related to https://github.com/kubernetes/kubernetes/issues/91395
- is incorporated by
-
MAISTRA-2351 Bump CRD from v1beta1 to v1
- Closed
- relates to
-
MAISTRA-2302 Create maistra/api repository
- Closed