Skip to content

Commit

Permalink
Fix JSON encoding of KubeVersion and Version on Chart resource (#2740)
Browse files Browse the repository at this point in the history
<!--Thanks for your contribution. See [CONTRIBUTING](CONTRIBUTING.md)
    for Pulumi's contribution guidelines.

    Help us merge your changes more quickly by adding more details such
    as labels, milestones, and reviewers.-->

### Proposed changes

<!--Give us a brief description of what you've done and what it solves.
-->
Fixes #2739 which came from a community contribution that we merged
recently.
  • Loading branch information
EronWright authored Jan 12, 2024
1 parent 8f44f6d commit 13c8d06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Unreleased
- Fix JSON encoding of KubeVersion and Version on Chart resource (.NET SDK) (https://github.com/pulumi/pulumi-kubernetes/pull/2740)
- Fix option propagation in component resources (Python SDK) (https://github.com/pulumi/pulumi-kubernetes/pull/2717)
- Fix option propagation in component resources (.NET SDK) (https://github.com/pulumi/pulumi-kubernetes/pull/2720)
- Fix option propagation in component resources (NodeJS SDK) (https://github.com/pulumi/pulumi-kubernetes/pull/2713)
Expand Down
4 changes: 2 additions & 2 deletions provider/pkg/gen/dotnet-templates/helm/v3/Chart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ internal class JsonOpts
public string? Repo { get; set; }
[JsonPropertyName("chart")]
public string? Chart { get; set; }
[JsonPropertyName("version")]
public string? KubeVersion { get; set; }
[JsonPropertyName("kube_version")]
public string? KubeVersion { get; set; }
[JsonPropertyName("version")]
public string? Version { get; set; }
[JsonPropertyName("fetch_opts")]
public JsonOptsFetch? FetchOptions { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions sdk/dotnet/Helm/V3/Chart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ internal class JsonOpts
public string? Repo { get; set; }
[JsonPropertyName("chart")]
public string? Chart { get; set; }
[JsonPropertyName("version")]
public string? KubeVersion { get; set; }
[JsonPropertyName("kube_version")]
public string? KubeVersion { get; set; }
[JsonPropertyName("version")]
public string? Version { get; set; }
[JsonPropertyName("fetch_opts")]
public JsonOptsFetch? FetchOptions { get; set; }
Expand Down

0 comments on commit 13c8d06

Please sign in to comment.