Skip to content

refactor: reorganize Kubernetes client models into separate files #2071

refactor: reorganize Kubernetes client models into separate files

refactor: reorganize Kubernetes client models into separate files #2071

Triggered via pull request September 9, 2025 23:23
Status Success
Total duration 1h 18m 2s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L194
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/AuthTests.cs#L191
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertUtilsTests.cs#L89
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertUtilsTests.cs#L88
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertificateValidationTests.cs#L113
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertificateValidationTests.cs#L84
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Tests/CertificateValidationTests.cs#L71
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): tests/KubernetesClient.Classic.Tests/SimpleTests.cs#L34
Avoid inexact read with 'System.Net.Sockets.NetworkStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)