From ed247d8fdfe2bbf15adc47d62b6d9e4b170ec195 Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Tue, 14 May 2024 10:08:08 -0700 Subject: [PATCH 1/3] Bump .NET generated code to p-k 4.* --- pkg/codegen/dotnet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/codegen/dotnet.go b/pkg/codegen/dotnet.go index 64ae6db..a8d2495 100644 --- a/pkg/codegen/dotnet.go +++ b/pkg/codegen/dotnet.go @@ -61,7 +61,7 @@ func GenerateDotNet(pg *PackageGenerator, name string) (map[string]*bytes.Buffer var err error pkg.Language["csharp"], err = ijson.RawMessage(map[string]any{ "packageReferences": map[string]string{ - "Pulumi.Kubernetes": "3.*", + "Pulumi.Kubernetes": "4.*", }, "compatibility": "kubernetes20", "dictionaryConstructors": true, From fc9fd9186219ce85f2676a1baea17c29c8dfd299 Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Tue, 14 May 2024 10:11:14 -0700 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eba006..432694e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,9 @@ ## Unreleased -- Fix: Pin the Kubernetes version for generated nodejs resources() -- Feat: Add Java generation support () +- Fix unpinned Kubernetes version in generated nodejs resources. [#121](https://github.com/pulumi/crd2pulumi/pull/121) +- Fix .NET generated code to use provider v4. [#134](https://github.com/pulumi/crd2pulumi/pull/134) +- Add Java generation support. [#129](https://github.com/pulumi/crd2pulumi/pull/129) ## 1.3.0 (2023-12-12) From 551595e7109968c6b2ad1b4ac34c80a5ed4ddcc6 Mon Sep 17 00:00:00 2001 From: Bryce Lampe Date: Tue, 14 May 2024 11:59:26 -0700 Subject: [PATCH 3/3] include pulumi as well --- pkg/codegen/dotnet.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/codegen/dotnet.go b/pkg/codegen/dotnet.go index a8d2495..4c84e63 100644 --- a/pkg/codegen/dotnet.go +++ b/pkg/codegen/dotnet.go @@ -61,6 +61,7 @@ func GenerateDotNet(pg *PackageGenerator, name string) (map[string]*bytes.Buffer var err error pkg.Language["csharp"], err = ijson.RawMessage(map[string]any{ "packageReferences": map[string]string{ + "Pulumi": "3.*", "Pulumi.Kubernetes": "4.*", }, "compatibility": "kubernetes20",