csharp
csharp copied to clipboard
Officially supported dotnet Kubernetes Client library
**Describe the bug** `OnError` callback of `Watcher()` reports the following error after ~40 minutes when watching for a Kubernetes resource for which no instance exists in the cluster and no...
Fix #1446 without introducing `IDisposable` on `KubernetesClientConfiguration` Breaking Changes: * Using `KubernetesClientConfiguration.SslCaCerts` or `KubernetesClientConfiguration.LoadSslCaCerts()` requires the user to dispose the returned `X509Certificate2Collection` after usage. * Setter of `KubernetesClientConfiguration.SslCaCerts` was removed.
**Describe the bug** A clear and concise description of what the bug is. ReadNamespacedPodLogWithHttpMessagesAsync reads all the logs (including historical ones) from a specific pod. I cannot find a good...
In a particular project we are using LeaderElection via Kubernetes C# client. For some reason no leader was being elected and the application was not logging any relevant information. The...
Have gone and eliminated polyfils packages where possible as in those cases the dependencies are already natively being provided by the framework. Closes #1553
**Describe the bug** I was looking at something else and noticed some of the generated methods lack a `ConfigureAwait(false)` and do not dispose _result like the other methods do. Here...
### Describe the feature. I want my application's and libraries to be as small as possible and the minimum amount of dependencies. #### Is your feature related to a problem?...
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/record grants users move flexibility to use data objects, for example, built-in deconstruction.
**Describe the bug** fail: IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler[0] Method not found: 'IdentityModel.Client.DiscoveryEndpoint IdentityModel.Client.DiscoveryEndpoint.ParseUrl(System.String)'. System.MissingMethodException: Method not found: 'IdentityModel.Client.DiscoveryEndpoint IdentityModel.Client.DiscoveryEndpoint.ParseUrl(System.String)'. at IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationOptions.ConfigureJwtBearer(JwtBearerOptions jwtOptions) at IdentityServer4.AccessTokenValidation.ConfigureInternalOptions.Configure(String name, JwtBearerOptions options) at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) at Microsoft.Extensions.Options.OptionsMonitor`1.c.b__10_0(String name,...
Updates `KubernetesJson.Serialize` with a special case for seializing `V1Patch` when the content is string, as based on the examples and the converter implementation, the expectation in this case is that...