Skip to content

Commit

Permalink
doc(migration): OpenShift Template objects type
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Nuri <marc@marcnuri.com>
  • Loading branch information
manusa authored Dec 3, 2024
1 parent 1f5fe72 commit 5cab66c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/MIGRATION-v7.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- [Open Virtual Network OVN Extension](#ovn-extension)
- [Tekton Extension](#tekton-extension)
- [Vertical Pod Autoscaler Extension](#vertical-pod-autoscaler-extension)
- [OpenShift Template objects](#openshift-template-objects)
- [MockWebServer is based on Vert.x](#mockwebserver-vertx)
- [OkHttp class replacements](#mockwebserver-okhttp-replacements)
- [SSL/TLS certificates](#mockwebserver-ssl-tls-certificates)
Expand Down Expand Up @@ -249,6 +250,12 @@ The module `verticalpodautoscaler-model-v1` has been renamed to `verticalpodauto

The package containing the Vertical Pod Autoscaler classes has also been renamed from `io.fabric8.verticalpodautoscaler.api.model` to `io.fabric8.autoscaling.api.model.v1`.

### OpenShift Template objects <a href="#openshift-template-objects" id="openshift-template-objects"/>

The OpenShift Template `objects` field (`getObjects()` / `setObjects()`) has changed its type from `List<HasMetadata>` to `List<Object>`.
Technically, this field can contain any kind of object, not just `HasMetadata` object instances.
The object will always be deserialized as a `KubernetesResource` instance, but not necessarily a `HasMetadata` instance (`AnyType`, `RawExtension`, `GenericKubernetesResource`).

## MockWebServer is based on Vert.x <a href="#mockwebserver-vertx" id="mockwebserver-vertx"/>

MockWebServer is no longer based on OkHttp, but on Vert.x instead.
Expand Down

0 comments on commit 5cab66c

Please sign in to comment.