Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update module github.com/pulumi/pulumi-kubernetes/sdk/v3 to v4 (#1750)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/pulumi/pulumi-kubernetes/sdk/v3](https://redirect.github.com/pulumi/pulumi-kubernetes) | require | major | `v3.30.2` -> `v4.19.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>pulumi/pulumi-kubernetes (github.com/pulumi/pulumi-kubernetes/sdk/v3)</summary> ### [`v4.19.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.18.4...v4.19.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.18.4...v4.19.0) ### [`v4.18.4`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.18.4) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.18.3...v4.18.4) ##### Changed - \[nodejs] Resolves `punycode` deprecation warnings by using native `fetch` instead of `node-fetch`. [https://github.com/pulumi/pulumi-kubernetes/issues/3301](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/3301)3301) ##### Fixed - `pulumi.com/waitFor` and other await annotations now correctly take precedence over default await logic. [https://github.com/pulumi/pulumi-kubernetes/issues/3329](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/3329)3329) - JSONPath expressions used with the `pulumi.com/waitFor` annotation will no longer hang indefinitely if they match non-primitive fields. [https://github.com/pulumi/pulumi-kubernetes/issues/3345](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/3345)3345) - \[java] CRDs that contain any `x-kubernetes-*` fields can now be succesfully created and managed by Pulumi. [https://github.com/pulumi/pulumi-kubernetes/issues/3325](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/3325)3325) ### [`v4.18.3`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.18.3) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.18.2...v4.18.3) ##### Fixed - Objects created on clusters older than 1.18 will no longer see a `before-first-apply` conflict when Pulumi performs a server-side apply for the first time. ([https://github.com/pulumi/pulumi-kubernetes/pull/3275](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3275)) - The provider's user agent is now set correctly when communicating with the Kubernetes API server. ([https://github.com/pulumi/pulumi-kubernetes/issues/3267](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/3267)) ### [`v4.18.2`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.18.2) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.18.1...v4.18.2) ##### Fixed - The provider's Pulumi dependency was updated to version v3.136.1 to address potential "pulumi.runtime.invokeOutput is not a function" e[https://github.com/pulumi/pulumi/issues/17518](https://redirect.github.com/pulumi/pulumi/issues/17518)es/17518) ### [`v4.18.1`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.18.1) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.18.0...v4.18.1) ##### Added - Schemagen is now a library that can be consumed by other packages. ([https://github.com/pulumi/pulumi-kubernetes/pull/3187](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3187)) ##### Changed - Updated beta Kubernetes client libraries to stable v1.31 release. ([https://github.com/pulumi/pulumi-kubernetes/pull/3196](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3196)) ### [`v4.18.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.18.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.17.1...v4.18.0) > \[!IMPORTANT] > The `enableSecretMutable` and `enableConfigMapMutable` options may become the default behavior in a future v5 release of the provider. > > Programs that depend on the replacement of `Secrets` and `ConfigMaps` (e.g. to trigger updates for downstream dependencies like `Deployments`) are recommended to explicitly specify `immutable: true`. ##### Added - The new `enableSecretMutable` provider configuration option treats changes to `Secrets` as updates instead of replacements (similar to the `enableConfigMapMutable` option). The default replacement behavior can be preserved for a particular `Secret` by setting its `immutable` field to `true`. ([https://github.com/pulumi/pulumi-kubernetes/issues/2291](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/2291)) - A warning is now emitted if an object has finalizers which might be blocking deletion. ([https://github.com/pulumi/pulumi-kubernetes/issues/1418](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/1418)) - **EXPERIMENTAL**: Generic await logic is now available as an opt-in feature. Running a program with `PULUMI_K8S_AWAIT_ALL=true` will now cause Pulumi to await readiness for *all* resources, including custom resources. Generic readiness is determined according to some well-known conventions (like the "Ready" condition) as determined by [cli-utils](https://redirect.github.com/kubernetes-sigs/cli-utils/tree/master/pkg/kstatus). Pulumi's current behavior, without this feature enabled, is to assume some resources are immediately available, which can cause downstream resources to fail. Existing readiness logic is unaffected by this setting. ([https://github.com/pulumi/pulumi-kubernetes/issues/2996](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/2996)) - **EXPERIMENTAL**: The `pulumi.com/waitFor` annotation was introduced to allow for custom readiness checks. This override Pulumi's own await logic for the resource (however the `pulumi.com/skipAwait` annotation still takes precedence). The value of this annotation can take 3 forms: 1. A string prefixed with `jsonpath=` followed by a [JSONPath](https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression and an optional value. The JSONPath expression accepts the same syntax as `kubectl get -o jsonpath={...}`. If a value is provided, the resource is considered ready when the JSONPath expression evaluates to the same value. For example this resource expects its "phase" field to have a value of "Running": `pulumi.com/waitFor: "jsonpath={.status.phase}=Running"` If a value is not provided, the resource will be considered ready when any value exists at the given path, similar to `kubectl wait --for jsonpath=...`. This resource will wait until it has a webhook configured with a CA bundle: `pulumi.com/waitFor: "jsonpath={.webhooks[*].clientConfig.caBundle}"` 2. A string prefixed with `condition=` followed by the type of the condition and an optional status. This matches the behavior of `kubectl wait --for=condition=...` and will wait until the resource has a matching condition. The expected status defaults to "True" if not specified. `pulumi.com/waitFor: "condition=Synced"` `pulumi.com/waitFor: "condition=Reconciling=False"` 3. A string containing a JSON array of multiple `jsonpath=` and `condition=` expressions. `pulumi.com/waitFor: '["jsonpath={.foo}", "condition=Bar"]'` - Pulumi will now emit logs for any Kubernetes "Warning" Events associated with resources being created, updated or deleted. ([https://github.com/pulumi/pulumi-kubernetes/pull/3135](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3135)/files) ##### Fixed - The `immutable` field is now respected for `ConfigMaps` when the provider is configured with `enableConfigMapMutable`. [https://github.com/pulumi/pulumi-kubernetes/issues/3181](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/3181)3181) - Fixed a panic that could occur during deletion. ([https://github.com/pulumi/pulumi-kubernetes/issues/3157](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/3157)) ### [`v4.17.1`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.17.1) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.17.0...v4.17.1) ##### Fixed - Fixed a panic that would occur when updating `ServiceAccounts`. ([https://github.com/pulumi/pulumi-kubernetes/issues/3166](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/3166)) - Fixed a panic that could occur when using `clusterIdentifier` provider configuration. ([https://github.com/pulumi/pulumi-kubernetes/issues/3168](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/3168)) ### [`v4.17.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.17.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.16.0...v4.17.0) ##### Changed - Updated Kubernetes schemas and libraries to v1.31.0. ([https://github.com/pulumi/pulumi-kubernetes/pull/3144](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3144)) ##### Fixed - `Services` with selectors targeting 0 `Pods` will no longer hang indefinitely. ([https://github.com/pulumi/pulumi-kubernetes/issues/605](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/605)) - `Services` without selectors will no longer hang indefinitely. ([https://github.com/pulumi/pulumi-kubernetes/issues/799](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/799)) ### [`v4.16.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.16.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.15.0...v4.16.0) ##### Added - `clusterIdentifier` configuration can now be used to manually control the replacement behavior of a provider resource. ([https://github.com/pulumi/pulumi-kubernetes/pull/3068](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3068)) - Pod errors now include the pod's last termination state, as well as the pod's termination message if available. ([https://github.com/pulumi/pulumi-kubernetes/pull/3091](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3091)) The pod's termination message can be helpful in `CrashLoopBackOff` situations but will only be reported if it was correctly configured. By default, the pod's termination message is read from `/dev/termination-log`. This location can be configured with `terminationMessagePath`. Use `terminationMessagePolicy: FallbackToLogsOnError` to use the pod's logs as its termination message. - Documentation is now generated for all languages supported by overlay types. ([https://github.com/pulumi/pulumi-kubernetes/pull/3107](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3107)) ##### Fixed - Updated logic to accurately detect if a resource is a Patch variant. ([https://github.com/pulumi/pulumi-kubernetes/pull/3102](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3102)) - Added Java as a supported language for `CustomResource` overlays. ([https://github.com/pulumi/pulumi-kubernetes/pull/3120](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3120)) - Status messages reported during updates are now more accurately scoped to the affected resource. ([https://github.com/pulumi/pulumi-kubernetes/pull/3128](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3128)) - `PersistentVolumeClaims` with a bind mode of `WaitForFirstConsumer` will no longer hang indefinitely. ([https://github.com/pulumi/pulumi-kubernetes/pull/3130](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3130)) - \[java] Fixed an issue where child resources could not be registered by Chart v4. [https://github.com/pulumi/pulumi-kubernetes/pull/3119](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3119)9) ### [`v4.15.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.15.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.14.0...v4.15.0) ##### Changed - `CustomResource` should have plain `apiVersion` and `kind` properties ([https://github.com/pulumi/pulumi-kubernetes/pull/3079](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3079)) ##### Fixed - Prevent CustomResourceDefinitions from always being applied to the cluster during preview operations ([https://github.com/pulumi/pulumi-kubernetes/pull/3096](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3096)) ### [`v4.14.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.14.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.13.1...v4.14.0) ##### Added - `TypedDict` input types for the Python SDK ([https://github.com/pulumi/pulumi-kubernetes/pull/3070](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3070)) ##### Changed - The `Release` resource no longer ignores empty lists when merging values. ([https://github.com/pulumi/pulumi-kubernetes/pull/2995](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/2995)) ##### Fixed - `Chart` v4 now handles an array of assets. ([https://github.com/pulumi/pulumi-kubernetes/pull/3061](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3061)) - Fix previews always failing when a resource is to be replaced ([https://github.com/pulumi/pulumi-kubernetes/pull/3053](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3053)) ### [`v4.13.1`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.13.1) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.12.0...v4.13.1) ##### Added - Kustomize Directory v2 resource ([https://github.com/pulumi/pulumi-kubernetes/pull/3036](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3036)) - CustomResource for Java SDK ([https://github.com/pulumi/pulumi-kubernetes/pull/3020](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3020)) ##### Changed - Update to pulumi-java v0.12.0 ([https://github.com/pulumi/pulumi-kubernetes/pull/3025](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3025)) ##### Fixed - Fixed Chart v4 fails on update ([https://github.com/pulumi/pulumi-kubernetes/pull/3046](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3046)) - Fixed a panic that occurs when diffing Job resources containing `replaceUnready` annotations and an unreachable cluster connection. ([https://github.com/pulumi/pulumi-kubernetes/pull/3024](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3024)) - Fixed spurious diffing for updates when in renderYaml mode ([https://github.com/pulumi/pulumi-kubernetes/pull/3030](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3030)) ### [`v4.12.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/releases/tag/v4.12.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.11.0...v4.12.0) ##### Added - Added a new Helm Chart v4 resource. ([https://github.com/pulumi/pulumi-kubernetes/pull/2947](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/2947)) - Added support for deletion propagation policies (e.g. Orphan). ([https://github.com/pulumi/pulumi-kubernetes/pull/3011](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/3011)) - Server-side apply conflict errors now include the original field manager's name. ([https://github.com/pulumi/pulumi-kubernetes/pull/2983](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/2983)) ##### Changed - Pulumi will now wait for DaemonSets to become ready. ([https://github.com/pulumi/pulumi-kubernetes/pull/2953](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/2953)) - The Release resource's merge behavior for `valueYamlFiles` now more closely matches Helm's behavior. ([https://github.com/pulumi/pulumi-kubernetes/pull/2963](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/2963)) ##### Fixed - Helm Chart V3 previews no longer fail when the cluster is unreachable. ([https://github.com/pulumi/pulumi-kubernetes/pull/2992](https://redirect.github.com/pulumi/pulumi-kubernetes/pull/2992)) - Fixed a panic that could occur when a missing field became `null`. ([https://github.com/pulumi/pulumi-kubernetes/issues/1970](https://redirect.github.com/pulumi/pulumi-kubernetes/issues/1970)) ### [`v4.11.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.10.0...v4.11.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.10.0...v4.11.0) ### [`v4.10.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.9.1...v4.10.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.9.1...v4.10.0) ### [`v4.9.1`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.9.0...v4.9.1) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.9.0...v4.9.1) ### [`v4.9.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.8.1...v4.9.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.8.1...v4.9.0) ### [`v4.8.1`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.8.0...v4.8.1) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.8.0...v4.8.1) ### [`v4.8.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.7.1...v4.8.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.7.1...v4.8.0) ### [`v4.7.1`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.7.0...v4.7.1) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.7.0...v4.7.1) ### [`v4.7.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.6.1...v4.7.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.6.1...v4.7.0) ### [`v4.6.1`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.6.0...v4.6.1) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.6.0...v4.6.1) ### [`v4.6.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.6...v4.6.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.6...v4.6.0) ### [`v4.5.6`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.5...v4.5.6) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.5...v4.5.6) ### [`v4.5.5`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.4...v4.5.5) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.4...v4.5.5) ### [`v4.5.4`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.3...v4.5.4) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.3...v4.5.4) ### [`v4.5.3`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.2...v4.5.3) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.2...v4.5.3) ### [`v4.5.2`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.1...v4.5.2) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.5.1...v4.5.2) ### [`v4.4.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.3.0...v4.4.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.3.0...v4.4.0) ### [`v4.3.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.2.0...v4.3.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.2.0...v4.3.0) ### [`v4.2.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.1.1...v4.2.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.1.1...v4.2.0) ### [`v4.1.1`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.1.0...v4.1.1) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.0.3...v4.1.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.0.3...v4.1.0) ### [`v4.0.3`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.0.2...v4.0.3) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.0.2...v4.0.3) ### [`v4.0.2`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.0.1...v4.0.2) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.0.1...v4.0.2) ### [`v4.0.1`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.0.0...v4.0.1) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v4.0.0...v4.0.1) ### [`v4.0.0`](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v3.30.2...v4.0.0) [Compare Source](https://redirect.github.com/pulumi/pulumi-kubernetes/compare/v3.30.2...v4.0.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - "every weekday" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJpbXBhY3Qvbm8tY2hhbmdlbG9nLXJlcXVpcmVkIl19--> Co-authored-by: pulumi-renovate[bot] <189166143+pulumi-renovate[bot]@users.noreply.github.com>
- Loading branch information