Update first-party Pulumi dependencies (major) #781
+6
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.30.2
->4.19.0
2.9.1
->4.19.0
2.25.2
->3.144.1
Release Notes
pulumi/pulumi-kubernetes (@pulumi/kubernetes)
v4.19.0
Compare Source
Changed
v4.18.4
Compare Source
Changed
punycode
deprecation warnings by using nativefetch
instead ofnode-fetch
.https://github.com/pulumi/pulumi-kubernetes/issues/33013301)
Fixed
pulumi.com/waitFor
and other await annotations now correctly take precedence over default await logic.https://github.com/pulumi/pulumi-kubernetes/issues/33293329)
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/33453345)
[java] CRDs that contain any
x-kubernetes-*
fields can now be succesfully created and managed by Pulumi.https://github.com/pulumi/pulumi-kubernetes/issues/33253325)
v4.18.3
Compare Source
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 forthe first timhttps://github.com/pulumi/pulumi-kubernetes/pull/32753275)
The provider's user agent is now set correctly when communicating with
the Kubernetes API servehttps://github.com/pulumi/pulumi-kubernetes/issues/3267ues/3267)
v4.18.2
Compare Source
Fixed
potential "pulumi.runtime.invokeOutput is not a function" errorhttps://github.com/pulumi/pulumi/issues/17518es/17518)
v4.18.1
Compare Source
Added
Changed
v4.18.0
Compare Source
Added
The new
enableSecretMutable
provider configuration option treats changes toSecrets
as updates instead of replacements (similar to theenableConfigMapMutable
option).The default replacement behavior can be preserved for a particular
Secret
by setting its
immutable
field totrue
.https://github.com/pulumi/pulumi-kubernetes/issues/22912291)
Note: These options (
enableSecretMutable
andenableConfigMapMutable
)may become the default behavior in a future v5 release of the provider.
Programs that depend on the replacement of
Secrets
andConfigMaps
(e.g.to trigger updates for downstream dependencies like
Deployments
) arerecommended to explicitly specify
immutable: true
.A warning is now emitted if an object has finalizers which might be blocking
deletiohttps://github.com/pulumi/pulumi-kubernetes/issues/14181418)
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 toawait 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.
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/29962996)
EXPERIMENTAL: The
pulumi.com/waitFor
annotation was introduced to allowfor custom readiness checks. This override Pulumi's own await logic for the
resource (however the
pulumi.com/skipAwait
annotation still takesprecedence).
The value of this annotation can take 3 forms:
A string prefixed with
jsonpath=
followed by aJSONPath
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":
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 configuredwith a CA bundle:
A string prefixed with
condition=
followed by the type of thecondition and an optional status. This matches the behavior of
kubectl wait --for=condition=...
and will wait until the resource has amatching condition. The expected status defaults to "True" if not
specified.
A string containing a JSON array of multiple
jsonpath=
andcondition=
expressions.Pulumi will now emit logs for any Kubernetes "Warning" Events associated with
resources being created, updated or deletehttps://github.com/pulumi/pulumi-kubernetes/pull/3135ull/3135/files)
Fixed
The
immutable
field is now respected forConfigMaps
when the provider is configured withenableConfigMapMutable
.https://github.com/pulumi/pulumi-kubernetes/issues/31813181)
Fixed a panic that could occur during deletion. (https://github.com/pulumi/pulumi-kubernetes/issues/3157)
v4.17.1
Compare Source
Fixed
ServiceAccounts
. (https://github.com/pulumi/pulumi-kubernetes/issues/3166)clusterIdentifier
provider configuration. (https://github.com/pulumi/pulumi-kubernetes/issues/3168)v4.17.0
Compare Source
Changed
Fixed
Services
with selectors targeting 0Pods
will no longer hang indefinitely.https://github.com/pulumi/pulumi-kubernetes/issues/605/605)
Services
without selectors will no longer hang indefinitely.https://github.com/pulumi/pulumi-kubernetes/issues/799/799)
v4.16.0
Compare Source
Added
clusterIdentifier
configuration can now be used to manually control thereplacement behavior of a provider resourchttps://github.com/pulumi/pulumi-kubernetes/pull/3068ull/3068)
Pod errors now include the pod's last termination state, as well as the pod's
termination message if availablhttps://github.com/pulumi/pulumi-kubernetes/pull/3091ull/3091)
The pod's termination message can be helpful in
CrashLoopBackOff
situations butwill 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 withterminationMessagePath
.Use
terminationMessagePolicy: FallbackToLogsOnError
to use the pod's logsas its termination message.
Documentation is now generated for all languages supported by overlay types.
https://github.com/pulumi/pulumi-kubernetes/pull/31073107)
Fixed
CustomResource
overlays. (https://github.com/pulumi/pulumi-kubernetes/pull/3120)affected resourchttps://github.com/pulumi/pulumi-kubernetes/pull/31283128)
PersistentVolumeClaims
with a bind mode ofWaitForFirstConsumer
will nolonger hang indefinitelhttps://github.com/pulumi/pulumi-kubernetes/pull/31303130)
v4.15.0
Compare Source
Changed
CustomResource
should have plainapiVersion
andkind
properties (https://github.com/pulumi/pulumi-kubernetes/pull/3079)https://github.com/pulumi/pulumi-kubernetes/pull/31443144)
Fixed
v4.14.0
Compare Source
Added
TypedDict
input types for the Python SDK (https://github.com/pulumi/pulumi-kubernetes/pull/3070)Changed
Release
resource no longer ignores empty lists when merging values. (https://github.com/pulumi/pulumi-kubernetes/pull/2995)Fixed
Chart
v4 now handles an array of assets. (https://github.com/pulumi/pulumi-kubernetes/pull/3061)v4.13.1
Compare Source
Added
Changed
Fixed
replaceUnready
annotations and an unreachable cluster connection. (https://github.com/pulumi/pulumi-kubernetes/pull/3024)v4.12.0
Compare Source
Added
Changed
valueYamlFiles
now more closely matches Helm's behavior. (https://github.com/pulumi/pulumi-kubernetes/pull/2963)Fixed
null
. (https://github.com/pulumi/pulumi-kubernetes/issues/1970)v4.11.0
Compare Source
v4.10.0
Compare Source
New Features
A new MLC-based implementation of
ConfigGroup
and ofConfigFile
is now available in the "yaml/v2" package. These resources areusable in all Pulumi languages, including Pulumi YAML and in the Java Pulumi SDK.
Note that transformations aren't supported in this release (see https://github.com/pulumi/pulumi/issues/12996).
v4.9.1
Compare Source
helm
,kustomize
, andyaml
components (https://github.com/pulumi/pulumi-kubernetes/pull/2863)v4.9.0
Compare Source
v4.8.1
Compare Source
v4.8.0
Compare Source
v4.7.1
Compare Source
v4.7.0
Compare Source
Breaking Changes
In previous versions of the pulumi-kubernetes .NET SDK, the
ConfigFile
andConfigGroup
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:
After:
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.
v4.6.1
Compare Source
v4.6.0
Compare Source
PULUMI_KUBERNETES_MANAGED_BY_LABEL
env var with SSA created objects (https://github.com/pulumi/pulumi-kubernetes/pull/2711)Resources Renamed:
#/types/kubernetes:core/v1:ResourceRequirements
#/types/kubernetes:core/v1:VolumeResourceRequirements
#/types/kubernetes:core/v1:ResourceRequirementsPatch
#/types/kubernetes:core/v1:VolumeResourceRequirementsPatch
New Resources:
flowcontrol.apiserver.k8s.io/v1.FlowSchema
flowcontrol.apiserver.k8s.io/v1.FlowSchemaList
flowcontrol.apiserver.k8s.io/v1.FlowSchemaPatch
flowcontrol.apiserver.k8s.io/v1.PriorityLevelConfiguration
flowcontrol.apiserver.k8s.io/v1.PriorityLevelConfigurationList
flowcontrol.apiserver.k8s.io/v1.PriorityLevelConfigurationPatch
networking.k8s.io/v1alpha1.ServiceCIDR
networking.k8s.io/v1alpha1.ServiceCIDRList
networking.k8s.io/v1alpha1.ServiceCIDRPatch
storage.k8s.io/v1alpha1.VolumeAttributesClass
storage.k8s.io/v1alpha1.VolumeAttributesClassList
storage.k8s.io/v1alpha1.VolumeAttributesClassPatch
v4.5.6
Compare Source
v4.5.5
Compare Source
v4.5.4
Compare Source
v4.5.3
Compare Source
v4.5.2
Compare Source
v4.5.1
Compare Source
v4.5.0
Compare Source
v4.4.0
Compare Source
v4.3.0
Compare Source
v4.2.0
Compare Source
source-based and wheel distributions are now published. For most users the installs will now favor
the wheel distribution, but users invoking pip with
--no-binary :all:
will continue havinginstalls based on the source distribution.
v4.1.1
Compare Source
(https://github.com/pulumi/pulumi-kubernetes/issues/25402540)
v4.1.0
Compare Source
v4.0.3
Compare Source
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
Compare Source
Breaking changes:
Other changes:
pulumi/pulumi (@pulumi/pulumi)
v3.144.1
Compare Source
Bug Fixes
v3.144.0
Compare Source
Features
[engine] Warn if
refresh
ordestroy
use older parameterized packages#18029
[sdk/dotnet] Update dotnet to 3.71.1
#18084
[auto/go] Add ConfigFile to GetConfig and SetConfig operations, add GetAllConfigWithOptions to extend GetAllConfig
#17939
[cli/plugin] Log plugin unstructured output to debug instead of info
#17943
[sdk/yaml] Update pulumi-yaml to 1.13.0
#18077
Bug Fixes
[backend/diy] Retry deletes of lock files if they fail
#18059
[auto/go] Fix potential race condition when using automation API
#18044
[auto/go] Fix "debug" flag in automation api
#18071
[cli/install] Avoid unnecessary Node.js installations
#18041
[engine] Use package load v2 in loader server so it can include paramaterization
#18072
#18021
[programgen/dotnet] Emit local dependencies in restore sources deterministically
#18026
[sdk/go] Ignore DependsOn for direct form invokes instead of raising an error
#18089
[sdk/nodejs] Respect the noCheck option from tsconfig.json
#18067
[sdk/nodejs] Gracefully handle errors that don't implement toString
#18080
[sdk/python] Fix hang on error when using uv on Windows
#18054
[sdkgen/dotnet] Compute restore sources from local dependencies and referenced packages
#18042
Miscellaneous
#18049
v3.143.0
Compare Source
Features
[cli] Autonaming configuration in experimental mode
#17916
[cli] Suggest
state repair
as part of integrity panics#17919
[engine] Add PULUMI_DEBUG_LANGUAGES much like PULUMI_DEBUG_PROVIDERS so we can attach debuggers to languages easily
#17821
[engine] Warn if
refresh
ordestroy
use older plugins#12196
[protobuf] Add
Handshake
to the provider protocol#17819
[sdk/dotnet] Upgrade pulumi-dotnet to 3.71.0
#17937
[sdkgen/dotnet] Codegen for .NET InvokeOutputOptions
#17890
[programgen/{dotnet,nodejs,python}] Emit deferred outputs for mutually dependant components
#17859
[sdk/go] Allow specifying dependencies for output invokes. Go code generation for Output form invokes will use the new
Context.InvokeOutput
method.#17791
[sdk/nodejs] Add getSchema to Provider interface
#17950
[sdk/{nodejs,python}] Update Python and NodeJS to use the new GetRequiredPackage functionality
#17910
[cli/package] Automatically set up package dependencies when adding a package when possible
#17815
[sdk/python] Drop Python 3.8 support
#17883
Bug Fixes
[backend/diy] Show a more correct URL for lock files in error messages
#17961
[sdk/go] Inherit
protect
fromparent
s in the Go SDK#17936
[sdk/go] Fix a
defer
leak when writing memory profiles#17581
[sdk/go] Return when rejecting the InvokeOutput output on error
#18010
[sdkgen/go] Fix writing of go.mod files for parameterized packages
#17923
[auto/{go,nodejs,python}] Expose
whoami
token information in automation API types#17735
[cli/install] Don't recreate virtualenvs when using venv
#17892
[auto/nodejs] Don't hang indefinitely on failed inputs
#17899
[auto/python] Catch BaseException in automation API server
#17909
[sdk/nodejs] Throw from
output()
on circular structures#17852
[sdkgen/{nodejs,python}] Bump the minimum SDK version to 3.142.0
#17997
Miscellaneous
[pkg] Upgrade pulumi-java to v0.19.0
#18014
[sdk/python] Switch to ruff for linting and formatting
#17882
[sdkgen] Include parameterization details in pulumi-plugin.json
#17867
v3.142.0
Compare Source
Features
[cli] Reduce binary size by stripping debug information
#17868
[sdk/go] Add OutputWithDependencies
#17856
[sdk/java] Bump pulumi-java to 0.18.0
Bug Fixes
[cli] Fix login --interactive when no accounts are in the credentials file
#17860
[cli/new] Fix new to work with local template directories again
#17866
[sdkgen/dotnet] Fix parameterized packages to have version.txt
#17851
[sdk/python] uv toolchain: preserve env-vars when executing uv command
#17849
v3.141.0
Compare Source
Features
[sdk/dotnet] Update dotnet to 3.69.0
#17828
[cli/new] Allow URLs without a scheme for downloading templates
#17824
[sdk/nodejs] Allow specifiying additional dependencies for output invokes
#17632
[sdk/{nodejs,python}] Implement deferred output for nodejs and python
#17793
[sdk/python] Allow specifiying dependencies for output invokes
#17751
[sdk/yaml] Update yaml to 1.12.0
#17811
Bug Fixes
[engine] Send the same program arguments to shimless and binary plugins
#17833
[auto/go] Work around a race where the summary event in the automation API sometimes cannot be found
#17825
[sdk/nodejs] Fix mocks when multiple versions of @pulumi/pulumi are loaded in a project
#17769
Miscellaneous
#17818
v3.140.0
Compare Source
Features
[pkg] Reject schemas with duplicate paths across resources and functions
#17797
[auto/go] Add --config-file functionality to Go Automation API preview, update, refresh, and destroy
#17774
Bug Fixes
[cli/plugin] Workaround for escape codes in output from .NET 9
#17783
[sdk/python] Fix merging InvokeOptions.version
#17750
v3.139.0
Compare Source
Features
[pkg] Allow generating docs in parallel
#17711
[programgen] Allow specifying mutually dependant components in PCL
[programgen/{dotnet,go,nodejs,python}] Support generating invokes options from PCL for invokes
#17696
[sdk/nodejs] Allow accessing configuration in Node.js dynamic providers
#17697
[sdk/nodejs] Implement RunPlugin for the NodeJS language runtime
#17724
[sdk/nodejs] Support parameterization for TypeScript providers
#17738
[sdk/python] Add Uv as a Python toolchain
#17609
[sdk/python] Allow accessing configuration in Python dynamic providers
#17673
Bug Fixes
[engine] Make plugin downloads/installation cancellable
#17621
[engine] Fix frequent retries on 403 errors when the update token expires
#17714
[engine] Don't copy deleted dependencies of untargeted resources
#17743
[engine] Support renaming providers in targeted operations
#17746
[engine] Pass correct working directory to RunPlugin
#17763
[programgen] Allow PCL function element to take a dynamic expression as input in non-strict mode
#17587
[sdk/nodejs] Fix pnpm pack for [email protected]
#17766
[sdk/python] Log a message about deleting requirements.txt when converting to using Poetry
#17716
[sdk/python] Fix an exception in automation api when reading
whoami
results.#17770
Miscellaneous
#17768
v3.138.0
Compare Source
Features
[backend/diy] Keep computer awake while an update is running
#17699
[backend/service] Keep computer awake while an update is running
#17699
#17675
[cli] Add interactive account selection to pulumi login command
#17618
[cli/display] Colorize selected stack when listing
#17606
[engine] Persist metadata about snapshot integrity errors
#17291
[programgen] Implement package descriptor blocks in PCL to load parameterized packages
#17589
[sdk/nodejs] Support Node.js 23
#17639
Bug Fixes
[docs] Fix spacing and formatting of
stack init
command's long doc#17534
[engine] Spot skipped-create dependencies even when inputs don't change
#17633
[engine] Normalize URNs in
DeletedWith
references#17666
[engine] Disable the enviromental GITHUB_TOKEN on 403 responses
#17671
[sdk/go] Overwrite directories in workspace.CopyTemplateFiles when called with force=true
#17695
[sdk/python] Add additional debug information to
ValueError
andAssertionError
#17577
Miscellaneous
[docs] Update function comments to remove outdated DIY backend note
#17563
[yaml] Update YAML to 1.11.2
#17637
v3.137.0
Compare Source
Features
[cli] Allow memory profile to be written in the background, so it's available in case of crash
#17461
[sdk/go] Enable better error messsages to be returned from provider construct failures
#17464
[sdk/python] Enable better error messsages to be returned from provider construct failures
#17429
[sdk/python] Support Python 3.13
#17520
Bug Fixes
[engine] Fix token expired errors due to network issues
#17519
[pkg] Don't publish test code in
pkg/codegen
#17517
[programgen] Detect and error on binding component nodes in PCL programs that self-reference their source
#17538
[programgen] Fix PCL bind error "cannot iterate over a value of type number" when conditionals are used in range expressions
#17569
[yaml] Allow
pulumi package add
for YAML projects#17560
[sdk/go] Improve error message when credentials file invalid
#17541
[programgen/python] Fix preserving map keys in python programgen
#17350
Miscellaneous
#17540
v3.136.1
Compare Source
Miscellaneous
#17501
v3.136.0
Compare Source
Features
[#17467](https://redirec
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.