Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature]: Support of YamlDotNet 16 #797

Open
mmgerald opened this issue Aug 12, 2024 · 0 comments
Open

[feature]: Support of YamlDotNet 16 #797

mmgerald opened this issue Aug 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mmgerald
Copy link

Is your feature request related to a problem? Please describe.

YamlDotnet looks like they have made some breaking changes in the latest release: https://github.com/aaubry/YamlDotNet/releases/tag/v16.0.0 specifically to ReadYaml and WriteYaml in IYamlTypeConverter.cs leaving any descendant in the KubernetesClient library broken (i.e., IntOrStringYamlConverter).

(see also kubernetes-client/csharp#1573)

Describe the solution you would like

Update KubernetesClient to recent version. I've already asked for a new release that includes dependency to v16 of YamlDotNet

Additional Context

The type initializer for 'k8s.KubernetesYaml' threw an exception. TValue Deserialize[TValue](System.String, Boolean) at k8s.KubernetesYaml.Deserialize[TValue](String yaml, Boolean strict)
at k8s.KubernetesYaml.LoadFromStreamAsync[T](Stream stream, Boolean strict)
at k8s.KubernetesClientConfiguration.LoadKubeConfigAsync(FileInfo kubeconfig, Boolean useRelativePaths)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant