From f63f0df5eb42c13e6fb380c86af54556cbe3c282 Mon Sep 17 00:00:00 2001 From: brownz11 <74672092+brownz11@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:48:28 -0500 Subject: [PATCH 1/2] Migrate to KubernetesClient KubernetesClient.Models is deprecated in favor of just KubernetesClient Signed-off-by: brownz11 <74672092+brownz11@users.noreply.github.com> --- .gitignore | 4 +++- .../MyFirstKubewardenPolicy.Tests.csproj | 2 +- .../MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index faa1838..ecf4444 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .vscode - +.vs +**/bin +**/obj diff --git a/example/MyFirstKubewardenPolicy.Tests/MyFirstKubewardenPolicy.Tests.csproj b/example/MyFirstKubewardenPolicy.Tests/MyFirstKubewardenPolicy.Tests.csproj index 5dbb278..d631b55 100644 --- a/example/MyFirstKubewardenPolicy.Tests/MyFirstKubewardenPolicy.Tests.csproj +++ b/example/MyFirstKubewardenPolicy.Tests/MyFirstKubewardenPolicy.Tests.csproj @@ -17,7 +17,7 @@ - + diff --git a/example/MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj b/example/MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj index faff5e5..6f010f8 100644 --- a/example/MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj +++ b/example/MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj @@ -9,7 +9,7 @@ - + From 5f58d96387ac14566d92d71b9f794358ab8bd839 Mon Sep 17 00:00:00 2001 From: brownz11 <74672092+brownz11@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:58:33 -0500 Subject: [PATCH 2/2] Disable WasiTrim due to build issues with the SDK Signed-off-by: brownz11 <74672092+brownz11@users.noreply.github.com> --- example/MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj b/example/MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj index 6f010f8..68a77bc 100644 --- a/example/MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj +++ b/example/MyFirstKubewardenPolicy/MyFirstKubewardenPolicy.csproj @@ -5,7 +5,7 @@ net7.0 enable enable - true + false