Commit Graph

885 Commits

Author SHA1 Message Date
Weihan Li
b6315d8622 Update KubernetesClient DiagnosticSource dependency (#1561)
System.Diagnostics.DiagnosticSource has been included into the framework reference, no need to reference for net8
2024-06-06 22:14:14 -07:00
dependabot[bot]
2c2bd6a4a3 Bump nunit/docfx-action from 3.2.0 to 3.3.0 (#1558)
Bumps [nunit/docfx-action](https://github.com/nunit/docfx-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/nunit/docfx-action/releases)
- [Commits](https://github.com/nunit/docfx-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: nunit/docfx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 16:57:00 -07:00
dependabot[bot]
6df71f5e38 Bump BouncyCastle.Cryptography in /src/KubernetesClient.Classic (#1557)
Bumps [BouncyCastle.Cryptography](https://github.com/bcgit/bc-csharp) from 2.2.1 to 2.3.1.
- [Commits](https://github.com/bcgit/bc-csharp/compare/release-2.2.1...release-2.3.1)

---
updated-dependencies:
- dependency-name: BouncyCastle.Cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 17:52:32 -07:00
Brian Pursley
b50aed2654 Add missing Dispose() calls (#1552) 2024-04-29 00:30:50 -07:00
Boshi Lian
07a59e7e59 Update SDK version to 14.0 for Kubernetes 1.30 (#1551)
* Update KUBERNETES_BRANCH to v1.30.0 in csharp.settings

* Update version.json to 14.0

* Update SDK version to 14.0 for Kubernetes 1.30

* fix csharp naming conflict

* drop support of net7

* remove unused comment
2024-04-28 17:00:18 -07:00
Boshi Lian
3dae1cf299 Refactor LibKubernetesGenerator code structure (#1546)
* Refactor LibKubernetesGenerator code structure

* clean up comment out code

* No more locks

* clean up dep

* Update dependency paths in LibKubernetesGenerator.target
2024-04-15 10:43:05 -07:00
Boshi Lian
de7ecf1da9 SlnGen instructions are potentially incomplete (#1530) 2024-04-15 10:40:59 -07:00
dependabot[bot]
8bfec97f99 Bump OpenTelemetry.Instrumentation.Http (#1548)
Bumps [OpenTelemetry.Instrumentation.Http](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet/compare/core-1.7.0...Instrumentation.Http-1.8.1)

---
updated-dependencies:
- dependency-name: OpenTelemetry.Instrumentation.Http
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 01:20:31 -07:00
dependabot[bot]
a97bdd9186 Bump microsoft/setup-msbuild from 1.3 to 2 (#1547)
Bumps [microsoft/setup-msbuild](https://github.com/microsoft/setup-msbuild) from 1.3 to 2.
- [Release notes](https://github.com/microsoft/setup-msbuild/releases)
- [Changelog](https://github.com/microsoft/setup-msbuild/blob/main/building-release.md)
- [Commits](https://github.com/microsoft/setup-msbuild/compare/v1.3...v2)

---
updated-dependencies:
- dependency-name: microsoft/setup-msbuild
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 01:18:32 -07:00
dependabot[bot]
c6ec2c55ee Bump nunit/docfx-action from 3.1.0 to 3.2.0 (#1545)
Bumps [nunit/docfx-action](https://github.com/nunit/docfx-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/nunit/docfx-action/releases)
- [Commits](https://github.com/nunit/docfx-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: nunit/docfx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-06 00:47:07 -07:00
Alex Mitchell
7dad2f31a8 Prevent concurrent use of YAML serializer / deserializer (#1544)
YamlDotNet ISerializer and IDeserializer are not thread-safe
2024-04-05 23:07:27 -07:00
dependabot[bot]
d523291d1a Bump actions/configure-pages from 4 to 5 (#1543)
Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 4 to 5.
- [Release notes](https://github.com/actions/configure-pages/releases)
- [Commits](https://github.com/actions/configure-pages/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/configure-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 09:41:02 -07:00
Boshi Lian
cca266e6ae Add CultureInfo.InvariantCulture to floating point number formatting (#1541)
* Add CultureInfo.InvariantCulture to floating point number formatting

* Remove unused using statement in KubernetesYamlTests.cs
2024-03-27 15:30:26 -07:00
rwkarg
6bdc210793 Adding back PrometheusHandler to avoid breaking change (#1534) 2024-03-20 11:08:06 -07:00
dependabot[bot]
52c3c00d4c Bump Microsoft.VisualStudio.SlnGen from 11.2.3 to 11.2.6 (#1540)
Bumps [Microsoft.VisualStudio.SlnGen](https://github.com/microsoft/SlnGen) from 11.2.3 to 11.2.6.
- [Release notes](https://github.com/microsoft/SlnGen/releases)
- [Changelog](https://github.com/microsoft/slngen/blob/main/RELEASE.md)
- [Commits](https://github.com/microsoft/SlnGen/compare/v11.2.3...v11.2.6)

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.SlnGen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 09:27:07 -07:00
Weihan Li
51c148ec06 docs: Update README.md (#1538)
update travis-ci build status with Github Actions
2024-03-09 22:43:59 -08:00
Weihan Li
f78a516be0 Update docfx.yaml (#1529) 2024-02-28 18:58:12 -08:00
Weihan Li
ce0f192e3d docs: update README.md (#1527)
using NuGet package badge
2024-02-27 03:41:49 -08:00
rkarg-blizz
93140a6d8c Removing prometheus-net dependency (#1526)
* Update README.md

* Update KubernetesClient.csproj

* Delete examples/prometheus directory

* Delete src/KubernetesClient/PrometheusHandler.cs
2024-02-26 15:56:13 -08:00
Boshi Lian
c15d79d96d Update project references to include .csproj files instead of .proj files (#1524) 2024-02-19 12:20:18 -08:00
Boshi Lian
ff2809ef5a add AKS with kubelogin + MSI example (#1523)
* Add AKS Kubelogin example code

* Update kubelogin path and add instructions in README
2024-02-19 12:17:05 -08:00
dependabot[bot]
6cc9c21bb3 Bump Microsoft.VisualStudio.SlnGen from 11.1.0 to 11.2.3 (#1522)
Bumps [Microsoft.VisualStudio.SlnGen](https://github.com/microsoft/SlnGen) from 11.1.0 to 11.2.3.
- [Release notes](https://github.com/microsoft/SlnGen/releases)
- [Changelog](https://github.com/microsoft/slngen/blob/main/RELEASE.md)
- [Commits](https://github.com/microsoft/SlnGen/compare/v11.1.0...v11.2.3)

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.SlnGen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 17:29:05 -08:00
Sarah-A
5296e5fd49 Update Version Compatibility in readme (#1514)
* Add SDK version 13.0 to the compatibility table
* Clarity client's backward compatibility
* Clarify back-porting fixes to older versions
2024-02-12 10:04:17 -08:00
dependabot[bot]
cdf5398e2d Bump actions/delete-package-versions from 4 to 5 (#1519)
Bumps [actions/delete-package-versions](https://github.com/actions/delete-package-versions) from 4 to 5.
- [Release notes](https://github.com/actions/delete-package-versions/releases)
- [Commits](https://github.com/actions/delete-package-versions/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/delete-package-versions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 15:24:29 -08:00
dependabot[bot]
2ed87b5173 Bump nunit/docfx-action from 3.0.0 to 3.1.0 (#1517)
Bumps [nunit/docfx-action](https://github.com/nunit/docfx-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/nunit/docfx-action/releases)
- [Commits](https://github.com/nunit/docfx-action/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: nunit/docfx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 16:17:40 -08:00
Boshi Lian
09721624a9 update nuget (#1515) 2024-02-04 08:41:09 -08:00
Boshi Lian
83310a2c25 Delete kubernetes-client.sln file (#1516) 2024-02-03 20:00:43 -08:00
Brendan Burns
5adf8779fa add a devcontainer (#1513) 2024-02-01 23:52:11 -08:00
Avinesh Singh
140d7de7be Fix: Exec provider potential deadlock (#1457)
* Fix: Exec Process deadlock

WaitForExit should have been called after all other methods are called on the process

* Non-blocking standard output stream parsing

* Force buffer flush for non-infinite timeout
2024-02-01 13:53:23 -08:00
dependabot[bot]
37d8e3d81a Bump codecov/codecov-action from 3 to 4 (#1512)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 09:24:57 -08:00
Weihan Li
80cdef27c5 Let Microsoft.VisualStudio.SlnGen dependency development only (#1509)
Configure `Microsoft.VisualStudio.SlnGen` `PrivateAssets`
2024-01-29 20:20:47 -08:00
Boshi Lian
00c4c6f4ab add KubernetesClient.Aot to support Aot (#1498)
* init aot

* fix ca2007

* xUnit1031

* fix ca2007

* fix ca2007

* remove deprecated ctor

* fix xUnit1031

* fix missing doc

* fix missing dispose

* wait for warnings fix

* fix space

* move aot code to dedicated proj

* Remove commented out code

* eliminate know warnings

* add e2e test for aot

* rever on field convert annotation

* add e2e aot gh

* Add KubernetesClient.Aot project reference

* move CA1812 rule violation to file
2024-01-29 13:58:22 -08:00
dependabot[bot]
c7060d4301 Bump YamlDotNet from 13.7.1 to 15.1.0 (#1506)
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 13.7.1 to 15.1.0.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v13.7.1...v15.1.0)

---
updated-dependencies:
- dependency-name: YamlDotNet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-26 23:44:04 +01:00
dependabot[bot]
d2f6e26ee0 Bump System.IO.Abstractions.TestingHelpers from 20.0.4 to 20.0.15 (#1505)
Bumps [System.IO.Abstractions.TestingHelpers](https://github.com/TestableIO/System.IO.Abstractions) from 20.0.4 to 20.0.15.
- [Release notes](https://github.com/TestableIO/System.IO.Abstractions/releases)
- [Commits](https://github.com/TestableIO/System.IO.Abstractions/compare/v20.0.4...v20.0.15)

---
updated-dependencies:
- dependency-name: System.IO.Abstractions.TestingHelpers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 21:19:09 +01:00
Boshi Lian
127b59696e introduce slngen and remove stale proj (#1497)
* introduce slngen and remove stale proj

* Add instructions for generating with Visual Studio
2024-01-22 21:15:51 +01:00
Nathan Willoughby
465c1fdca2 Pass CancellationToken from StreamConnectAsync to webSocketBuilder.BuildAndConnectAsync (#1504) 2024-01-22 09:12:20 +01:00
dependabot[bot]
b27033a867 Bump Autofac from 7.1.0 to 8.0.0 (#1502)
Bumps [Autofac](https://github.com/autofac/Autofac) from 7.1.0 to 8.0.0.
- [Release notes](https://github.com/autofac/Autofac/releases)
- [Commits](https://github.com/autofac/Autofac/compare/v7.1.0...v8.0.0)

---
updated-dependencies:
- dependency-name: Autofac
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 12:32:21 +01:00
dependabot[bot]
f763a4bf6a Bump xunit from 2.6.5 to 2.6.6 (#1501)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.5 to 2.6.6.
- [Commits](https://github.com/xunit/xunit/compare/2.6.5...2.6.6)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 11:42:49 +01:00
Alex Zyl
29f6d38ccd Fixed GenericClient not propagating parameters into WatchAsync (#1500) 2024-01-15 11:10:16 +01:00
dependabot[bot]
b198b026de Bump System.IdentityModel.Tokens.Jwt from 7.0.3 to 7.1.2 (#1496)
Bumps [System.IdentityModel.Tokens.Jwt](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) from 7.0.3 to 7.1.2.
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/7.0.3...7.1.2)

---
updated-dependencies:
- dependency-name: System.IdentityModel.Tokens.Jwt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 15:13:50 +01:00
dependabot[bot]
a904b68daa Bump System.IdentityModel.Tokens.Jwt in /src/KubernetesClient (#1495)
Bumps [System.IdentityModel.Tokens.Jwt](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) from 7.0.3 to 7.1.2.
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/7.0.3...7.1.2)

---
updated-dependencies:
- dependency-name: System.IdentityModel.Tokens.Jwt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 13:21:02 +01:00
Boshi Lian
1cae561f59 update api to v1.29 (#1482)
* update swagger

* fix test
2024-01-09 18:07:46 +01:00
Boshi Lian
f32cf9eab3 fix warnings for net8 (#1481)
* fix ca2007

* xUnit1031

* fix ca2007

* fix ca2007

* remove deprecated ctor

* fix xUnit1031

* fix missing doc

* fix missing dispose

* fix ex
2024-01-09 18:05:26 +01:00
dependabot[bot]
f75c4aa484 Bump xunit from 2.6.4 to 2.6.5 (#1494)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.4 to 2.6.5.
- [Commits](https://github.com/xunit/xunit/compare/2.6.4...2.6.5)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-06 13:14:14 +01:00
dependabot[bot]
4376a03521 Bump prometheus-net from 8.2.0 to 8.2.1 (#1493)
Bumps [prometheus-net](https://github.com/prometheus-net/prometheus-net) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/prometheus-net/prometheus-net/releases)
- [Changelog](https://github.com/prometheus-net/prometheus-net/blob/master/History)
- [Commits](https://github.com/prometheus-net/prometheus-net/compare/v8.2.0...v8.2.1)

---
updated-dependencies:
- dependency-name: prometheus-net
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-06 09:00:53 +01:00
dependabot[bot]
61f0bf7b34 Bump xunit.runner.visualstudio from 2.5.5 to 2.5.6 (#1490)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.5 to 2.5.6.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.5...2.5.6)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-06 08:58:43 +01:00
dependabot[bot]
15ca16be88 Bump xunit from 2.6.3 to 2.6.4 (#1489)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.3 to 2.6.4.
- [Commits](https://github.com/xunit/xunit/compare/2.6.3...2.6.4)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-31 10:15:04 +01:00
dependabot[bot]
717f20ffce Bump actions/upload-pages-artifact from 2 to 3 (#1488)
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases)
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 06:55:39 +01:00
dependabot[bot]
6c3ff666f2 Bump actions/deploy-pages from 3 to 4 (#1487)
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 3 to 4.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 06:41:51 +01:00
dependabot[bot]
8bc64c0041 Bump actions/deploy-pages from 2 to 3 (#1470)
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 2 to 3.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 06:59:57 +01:00