From ef574386c6828371a4fc7fa574ed4414c13300dd Mon Sep 17 00:00:00 2001 From: csviri Date: Thu, 30 Mar 2023 08:38:43 +0200 Subject: [PATCH] docs --- docs/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 42f5ca3e..9d32c207 100644 --- a/docs/README.md +++ b/docs/README.md @@ -166,4 +166,9 @@ no need for a mapper for every combination. See also related docs in In order to properly register your own custom types (custom resources) for deserialization it needs to be added to `META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource` file. -See in the [samples](https://github.com/java-operator-sdk/admission-controller-framework/blob/main/samples/commons/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource#L164-L164). \ No newline at end of file +See in the [samples](https://github.com/java-operator-sdk/admission-controller-framework/blob/main/samples/commons/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource#L164-L164). + +Related release not in fabric8 client: +```text +Fix #4579: the implicit registration of resource and list types that happens when using the resource(class) methods has been removed. This makes the behavior of the client more predictable as that was an undocumented side-effect. If you expect to see instances of a custom type from an untyped api call - typically KubernetesClient.load, KubernetesClient.resourceList, KubernetesClient.resource(InputStream|String), then you must either create a META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource file (see above #3923), or make calls to KubernetesDeserializer.registerCustomKind - however since KubernetesDeserializer is an internal class that mechanism is not preferred. +``` \ No newline at end of file