- 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)
- Fix option propagation in component resources (Go SDK) (https://github.com/pulumi/pulumi-kubernetes/pull/2709)
Breaking Changes
In previous versions of the pulumi-kubernetes .NET SDK, the `ConfigFile` and `ConfigGroup` component resources inadvertently assigned the wrong parent to the child resource(s).
This would happen when the component resource itself had a parent; the child would be assigned that same parent. This also had the effect of disregarding the component resource's provider in favor of the parent's provider.
For example, here's a before/after look at the component hierarchy:
Before:
├─ pkg:index:MyComponent parent
│ ├─ kubernetes:core/v1:ConfigMap cg-options-cg-options-cm-1
│ ├─ kubernetes:yaml:ConfigFile cg-options-testdata/options/configgroup/manifest.yaml
│ ├─ kubernetes:core/v1:ConfigMap cg-options-configgroup-cm-1
│ ├─ kubernetes:yaml:ConfigFile cg-options-testdata/options/configgroup/empty.yaml
│ └─ kubernetes:yaml:ConfigGroup cg-options
After:
└─ pkg:index:MyComponent parent
└─ kubernetes:yaml:ConfigGroup cg-options
├─ kubernetes:yaml:ConfigFile cg-options-testdata/options/configgroup/manifest.yaml
│ └─ kubernetes:core/v1:ConfigMap cg-options-configgroup-cm-1
└─ kubernetes:core/v1:ConfigMap cg-options-cg-options-cm-1
This release addresses this issue and attempts to heal existing stacks using aliases. This is effective at avoiding a replacement except in the case where the child was created with the wrong provider. In this case, __Pulumi will suggest a replacement of the child resource(s), such that they use the correct provider__.