Skip to content

Conversation

@gamingrobot
Copy link
Contributor

Fixes #818
Default to setting Nullable to null and only explicitly set it to true. This avoids generating nullable: false (the default for nullable) which causes issues in ArgoCD

gamingrobot and others added 3 commits December 20, 2024 16:21
…tly set it to true. This avoids generating `nullable: false` (the default for nullable) which causes issues in ArgoCD
@buehler buehler enabled auto-merge (squash) January 6, 2025 13:45
@buehler buehler merged commit 5e061d5 into dotnet:main Jan 6, 2025
3 checks passed
@jaccus
Copy link

jaccus commented Feb 4, 2025

Have you seen this change working? In my experience going from 9.1.5 to 9.2.0 version of KubeOps.Operator and rebuilding the project did not affect generated CDRs at all - they still produce nullable: false in config yaml files.

Figured it out, it actually requires a version bump of kubeops cli dotnet tool to take effect, I guess that's the tooling which contains the generator, not KubeOps.Operator nuget package itself.

All good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: CRD transpiler outputs nullable: false which causes ArgoCD to fail to sync

3 participants