Skip to content

Releases: pulumi/pulumi-kubernetes

v4.7.0

17 Jan 20:51
b7daeba
Compare
Choose a tag to compare
Update CHANGELOG.md for 4.7.0 (#2755)

<!--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.-->

Prepares the changelog for 4.7 release.

v4.5.6

15 Dec 20:21
Compare
Choose a tag to compare
Prepare for v4.5.6 release

v4.6.1

15 Dec 00:42
4f5cc80
Compare
Choose a tag to compare
Fix resource kind lookup using URN.Type instead of QualifiedType (#2719)

### Proposed changes

This pull request uses the URN`Type` method, rather than `QualifiedType`
to search if resources are a patch or list resource. Qualified types
include the parent resource if there is one, so it would have failed the
lookup.

Additionally, comprehensive unit tests have been included to validate
this change.

### Related issues (optional)
Fixes: #2718 (manual validation was done to ensure this fix solves this
CUJ)

v4.6.0

14 Dec 00:47
bd5e93b
Compare
Choose a tag to compare
Prepare for v4.6.0 release (#2716)

v4.5.5

29 Nov 01:56
9b2f918
Compare
Choose a tag to compare
Fix: Make the invoke calls for Helm charts and YAML config resilient …

…to the value being `None` or an empty dict (#2665)

### Proposed changes

In v3.92.0 of the core `pulumi` Python SDK, invokes were changed to
return an empty dict rather than `None` for empty results, which is
consistent with other language SDKs and the original behavior of the
Python SDK, and makes generated provider Python SDKs work with empty
results. However, the hand-rolled invoke code in the Kubernetes Python
SDK for Helm and YAML are not resilient to it getting an empty dict.
This change fixes Helm and YAML to be resilient, in the same way that
the invoke for Kustomize was updated in
a907bddce8da5141992c2c9946e2f6be3fe9f79a.

An invoke will return empty results when called on an unconfigured
provider (i.e. a provider whose configuration contains an unknown
value). The first three commits add regression tests that pass an
unknown value as a provider's configuration. The Helm and YAML
regression tests fail before the fix and succeed after the fix. The test
for Kustomize already succeeds because of the change in
a907bddce8da5141992c2c9946e2f6be3fe9f79a. The new tests are based on
existing tests.

To ensure older versions of `pulumi-kubernetes` continue to work with
newer versions of `pulumi`, we're planning to patch the `pulumi` SDK to
return `None` for empty invoke returns when the function is one of the
affected kubernetes function tokens. This is tracked by
https://github.com/pulumi/pulumi/issues/14508 (PR:
https://github.com/pulumi/pulumi/pull/14535).

### Related issues

Fixes #2664

v4.5.4

08 Nov 21:44
1944a52
Compare
Choose a tag to compare
Prepare for v4.5.4 release

v4.5.3

31 Oct 22:24
82dd29f
Compare
Choose a tag to compare
Update pulumi/pulumi to 3.91.1 (#2647)

Includes fixes to python codegen.

v4.5.2

26 Oct 18:31
0fb9c23
Compare
Choose a tag to compare
Update CHANGELOG.md

v4.5.1

24 Oct 18:30
f3498a9
Compare
Choose a tag to compare
Prepare for v4.5.1 release

v4.4.0

12 Oct 19:33
a65574d
Compare
Choose a tag to compare
Prepare for v4.4.0 release