Skip to content

Commit 5cab66c

Browse files
authored
doc(migration): OpenShift Template objects type
Signed-off-by: Marc Nuri <[email protected]>
1 parent 1f5fe72 commit 5cab66c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: doc/MIGRATION-v7.md

+7
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- [Open Virtual Network OVN Extension](#ovn-extension)
2121
- [Tekton Extension](#tekton-extension)
2222
- [Vertical Pod Autoscaler Extension](#vertical-pod-autoscaler-extension)
23+
- [OpenShift Template objects](#openshift-template-objects)
2324
- [MockWebServer is based on Vert.x](#mockwebserver-vertx)
2425
- [OkHttp class replacements](#mockwebserver-okhttp-replacements)
2526
- [SSL/TLS certificates](#mockwebserver-ssl-tls-certificates)
@@ -249,6 +250,12 @@ The module `verticalpodautoscaler-model-v1` has been renamed to `verticalpodauto
249250

250251
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`.
251252

253+
### OpenShift Template objects <a href="#openshift-template-objects" id="openshift-template-objects"/>
254+
255+
The OpenShift Template `objects` field (`getObjects()` / `setObjects()`) has changed its type from `List<HasMetadata>` to `List<Object>`.
256+
Technically, this field can contain any kind of object, not just `HasMetadata` object instances.
257+
The object will always be deserialized as a `KubernetesResource` instance, but not necessarily a `HasMetadata` instance (`AnyType`, `RawExtension`, `GenericKubernetesResource`).
258+
252259
## MockWebServer is based on Vert.x <a href="#mockwebserver-vertx" id="mockwebserver-vertx"/>
253260

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

0 commit comments

Comments
 (0)