Update Terraform kubernetes to v2.25.2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
kubernetes (source) | required_provider | minor |
~> 2.24.0 -> ~> 2.25.0
|
Release Notes
hashicorp/terraform-provider-kubernetes (kubernetes)
v2.25.2
BUG FIXES:
-
resource/kubernetes_cron_job_v1
: fix an issue when the provider forces a resource recreation after upgrading to2.25.0
and2.25.1
due to changes in the resource schema. [GH-2387] -
resource/kubernetes_cron_job
: fix an issue when the provider forces a resource recreation after upgrading to2.25.0
and2.25.1
due to changes in the resource schema. [GH-2387] -
resource/kubernetes_daemon_set_v1
: fix an issue when the provider forces a resource recreation after upgrading to2.25.0
and2.25.1
due to changes in the resource schema. [GH-2387] -
resource/kubernetes_daemonset
: fix an issue when the provider forces a resource recreation after upgrading to2.25.0
and2.25.1
due to changes in the resource schema. [GH-2387] -
resource/kubernetes_stateful_set_v1
: fix an issue when the provider forces a resource recreation after upgrading to2.25.0
and2.25.1
due to changes in the resource schema. [GH-2387] -
resource/kubernetes_stateful_set
: fix an issue when the provider forces a resource recreation after upgrading to2.25.0
and2.25.1
due to changes in the resource schema. [GH-2387]
NOTES:
- Resources
kubernetes_cron_job_v1
andkubernetes_cron_job
got a new attributespec.job_template.metadata.namespace
. It is a stub attribute that does not affect the namespace in which the Pod will be created. The Pod will be created in the same namespace as the main resource. However, modifying this field will force the resource recreation. [GH-2387] - Resources
kubernetes_stateful_set_v1
,kubernetes_stateful_set
,kubernetes_daemon_set_v1
, andkubernetes_daemonset
got a new attributespec.template.metadata.namespace
. It is a stub attribute that does not affect the namespace in which the Pod will be created. The Pod will be created in the same namespace as the main resource. However, modifying this field will force the resource recreation. [GH-2387]
v2.25.1
HOTFIX:
-
kubernetes_manifest
: Implement response for GetMetadata protocol function [GH-2384]
v2.25.0
ENHANCEMENTS:
- Add terraform-plugin-framework provider [GH-2347]
-
data_source/kubernetes_persistent_volume_claim_v1
: add a new attributespec.volume_mode
. [GH-2353] -
data_source/kubernetes_persistent_volume_claim
: add a new attributespec.volume_mode
. [GH-2353] -
kubernetes/schema_stateful_set_spec.go
: Addspec.persistentVolumeClaimRetentionPolicy
inkubernetes_stateful_set
[GH-2333] -
resource/kubernetes_persistent_volume_claim_v1
: add a new attributespec.volume_mode
. [GH-2353] -
resource/kubernetes_persistent_volume_claim
: add a new attributespec.volume_mode
. [GH-2353] -
resource/kubernetes_stateful_set_v1
: add a new attributespec.volume_claim_template.spec.volume_mode
. [GH-2353] -
resource/kubernetes_stateful_set
: add a new attributespec.volume_claim_template.spec.volume_mode
. [GH-2353]
BUG FIXES:
-
resource/kubernetes_cron_job_v1
: Change the schema to include a namespace injobTemplate
resource/kubernetes_stateful_set_v1
: Change the schema to include a namespace intemplate
[GH-2362] -
resource/kubernetes_ingress_v1
: Fix an issue where the emptytls
attribute in the configuration does not generate the corresponding Ingress object without any TLS configuration. [GH-2344] -
resource/kubernetes_ingress
: Fix an issue where the emptytls
attribute in the configuration does not generate the corresponding Ingress object without any TLS configuration. [GH-2344]
NOTES:
- We have updated the logic of data sources and now the provider will return all annotations and labels attached to the object, regardless of the
ignore_annotations
andignore_labels
provider settings. In addition to that, a list of ignored labels when they are attached tokubernetes_job(_v1)
andkubernetes_cron_job(_v1)
resources were extended with labelsbatch.kubernetes.io/controller-uid
andbatch.kubernetes.io/job-name
since they aim to replacecontroller-uid
andjob-name
in the future Kubernetes releases. [GH-2345]
A special and warm welcome to the first contribution from our teammate @SarahFrench!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.