You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to register a serializer context for custom types used with client.CustomObjects.CreateNamespacedCustomObjectWithHttpMessagesAsync(customObject)?
Describe the bug
KubernetesClientConfiguration.JsonSerializerOptions
always returns null.The getter for this property calls the
KubernetesJson.AddJsonOptions
method which is empty.csharp/src/KubernetesClient/KubernetesClientConfiguration.cs
Lines 122 to 139 in 61e6b13
csharp/src/KubernetesClient.Aot/KubernetesJson.cs
Lines 76 to 78 in 61e6b13
Kubernetes C# SDK Client Version
KubernetesClient.Aot 15.0.1
Server Kubernetes Version
1.30.2
Dotnet Runtime Version
.net9
To Reproduce
Create a
KubernetesClientConfiguration
and call theJsonSerializerOptions
property.Expected behavior
A
System.Text.Json.JsonSerializerOptions
instance to be returned.Where do you run your app with Kubernetes SDK (please complete the following information):
Linux
The text was updated successfully, but these errors were encountered: