chore(deps): update terraform kubernetes to v2.34.0 #121
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:
2.15.0
->2.34.0
Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
hashicorp/terraform-provider-kubernetes (kubernetes)
v2.34.0
Compare Source
ENHANCEMENTS:
conditions
attribute tokubernetes_nodes
data source, which will provide detailed node health and status information [GH-2612]kubernetes_secret_v1_data
resource to the kubernetes provider. This resource will allow users to manage kubernetes secrets [GH-2604]FEATURES:
kubernetes_certificate_signing_request_v1
[GH-2628]kubernetes_token_request_v1
[GH-2628]v2.33.0
Compare Source
ENHANCEMENTS:
backoff_per_limit_index
andmax_failed_indexes
fields instructure_job.go
[GH-2421]namespace_selector
field inPodAffinityTerm
to enhance pod affinity and anti-affinity rules, allowing selection of namespaces based on label selectors. [GH-2577]kubernetes_manifest
- handling "404 Not Found" errors during the deletion of Kubernetes resources, particularly in cases where the resource may have already been deleted by an operator managing the CRD before Terraform attempts to delete it. [GH-2592]schema_container.go
: Add VolumeDevices [GH-2573]v2.32.0
Compare Source
FEATURES:
kubernetes_server_version
[GH-2306]ENHANCEMENTS:
resource/kubernetes_certificate_signing_request_v1
: Add argumentspec.expiration_seconds
[GH-2559]resource/kubernetes_persistent_volume_v1
: supportReadWriteOncePod
access mode for PVs [GH-2488]v2.31.0
Compare Source
ENHANCEMENTS:
v2.30.0
Compare Source
BUG FIXES:
data_source/kubernetes_resources
: fix an issue where the provider exit with an error when the data sourcekubernetes_resources
receives multiple Kubernetes objects containing tuples with different numbers of elements. [GH-2372]kubernetes_manifest
: fix issue preventing KUBE_PROXY_URL environment variable from being used in client configuration (#1733) [GH-2485]resource/kubernetes_node_taint
: Fix the error check for nonexistant nodes so that terraform does not fail if there is a taint in the state file for a node that has been deleted. [GH-2402]DOCS:
v2.29.0
Compare Source
BUG FIXES:
v2.28.1
Compare Source
HOTFIX:
manifest_decode()
: fix handling of manifests containing null values [GH-2461]v2.28.0
Compare Source
ENHANCEMENTS:
NOTE: Using Provider Defined Functions requires Terraform version 1.8.0.
manifest_encode
,manifest_decode
,manifest_decode_multi
[GH-2428]v2.27.0
Compare Source
ENHANCEMENTS:
resource/kubernetes_pod_v1
: add missingtopology_spread_constraints
:node_affinity_policy
,node_taints_policy
,match_label_keys
,min_domains
[GH-2429]v2.26.0
Compare Source
ENHANCEMENTS:
kubernetes/kubernetes_deployment_v1
: Add support forHugePages
inemptyDir.medium
[GH-2395]resource/kubernetes_job_v1
: add new attributespec.pod_failure_policy
to job spec [GH-2394]NOTES:
v2.25.2
Compare Source
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:
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]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
Compare Source
HOTFIX:
kubernetes_manifest
: Implement response for GetMetadata protocol function [GH-2384]v2.25.0
Compare Source
ENHANCEMENTS:
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:
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! 🚀
v2.24.0
Compare Source
ENHANCEMENTS:
kubernetes/schema_affinity_spec.go
: Addmatch_fields
to nodeAffinity [GH-2296]kubernetes/schema_pod_spec.go
: Addos
to podSpecFields [GH-2290]resource/kubernetes_config_map_v1_data
: improve error handling while validating the existence of the target ConfigMap. [GH-2230]BUG FIXES:
resource/kubernetes_labels
: Add ["f:metadata"] check in kubernetes_labels to prevent crash with kubernetes_node_taints [GH-2246]DOCS:
NOTES:
v2.23.0
Compare Source
FEATURES:
resource/kubernetes_cron_job_v1
: add a new volume typeephemeral
tospec.job_template.spec.template.spec.volume
to support generic ephemeral volumes. [GH-2199]resource/kubernetes_cron_job
: add a new volume typeephemeral
tospec.job_template.spec.template.spec.volume
to support generic ephemeral volumes. [GH-2199]resource/kubernetes_daemon_set_v1
: add a new volume typeephemeral
tospec.template.spec.volume
to support generic ephemeral volumes. [GH-2199]resource/kubernetes_daemonset
: add a new volume typeephemeral
tospec.template.spec..volume
to support generic ephemeral volumes. [GH-2199]resource/kubernetes_deployment_v1
: add a new volume typeephemeral
tospec.template.spec.volume
to support generic ephemeral volumes. [GH-2199]resource/kubernetes_deployment
: add a new volume typeephemeral
tospec.template.spec.volume
to support generic ephemeral volumes. [GH-2199]resource/kubernetes_job_v1
: add a new volume typeephemeral
tospec.template.spec.volume
to support generic ephemeral volumes. [GH-2199]resource/kubernetes_job
: add a new volume typeephemeral
tospec.template.spec.volume
to support generic ephemeral volumes. [GH-2199]resource/kubernetes_pod_v1
: add a new volume typeephemeral
tospec.volume
to support generic ephemeral volumes. [GH-2199]resource/kubernetes_pod
: add a new volume typeephemeral
tospec.volume
to support generic ephemeral volumes. [GH-2199]ENHANCEMENTS:
resource/kubernetes_endpoint_slice_v1
: make attributeendpoint.condition
optional. If you had previously included an empty blockcondition {}
in your configuration, we request you to remove it. Doing so will prevent receiving continuous "update in-place" messages while performing the plan and apply operations. [GH-2208]resource/kubernetes_pod_v1
: add a new attributetarget_state
to specify the Pod phase(s) that indicate whether it was successfully created. [GH-2200]resource/kubernetes_pod
: add a new attributetarget_state
to specify the Pod phase(s) that indicate whether it was successfully created. [GH-2200]BUG FIXES:
resource/kubernetes_manifest
: update flow inwait
block to fix timeout bug within tf apply where the resource is created and appears in Kubernetes but does not appear in TF state file after deadline. The fix would ensure that the resource has been created in the state file while also tainting the resource requiring the user to make the necessary changes in order for their to not be another timeout error. [GH-2163]DOCS:
v2.22.0
Compare Source
FEATURES:
kubernetes/data_source_kubernetes_persistent_volume.go
: Add data source for Kubernetes Persistent Volume Resource [GH-2118]kubernetes/resource_kubernetes_namespace.go
: Add attributewait_for_default_service_account
to namespaces which will force Terraform to wait until the default service account has been created by Kubernetes on namespace creation. [GH-2119]kubernetes/resource_kubernetes_endpointslice.go
: Add kubernetes_endpoint_slice resource [GH-2086]ENHANCEMENTS:
kubernetes/provider.go
: Addtls_server_name
kubernetes provider options. [GH-1638]BUG FIXES:
resource/kubernetes_manifest
: fix an issue in thekubernetes_manifest
resource when it panics if tuple attributes within an object have a different number of elements. This leads to the situation when all types of end tuples are getting the same type. [GH-2164]resource/kubernetes_manifest
: fix an issue with thekubernetes_manifest
resource, where an object fails to update correctly when employing wait conditions and thus some attributes are not available for the reference after creation. [GH-2173]v2.21.1
Compare Source
HOTFIX:
v2.21.0
Compare Source
FEATURES:
resource/kubernetes_runtime_class_v1
: Add a new resourcekubernetes_runtime_class_v1
. [GH-2080]ENHANCEMENTS:
kubernetes/provider.go
: addconflictsWith
rules to provider configuration schema [GH-2084]kubernetes/resource_kubernetes_service_account.go
: Removedefault_secret_name
warning [GH-2085]resource/kubernetes_node_taint
Update import documentation GH-2094BUG FIXES:
resource/kubernetes_node_taint
: Don't fail when there is a taint in the state file for a node that no longer exists. [GH-2099]resource/kubernetes_job
: Fixed a bug where settingbackoff_limit
to 6 would reset it to 0v2.20.0
Compare Source
ENHANCEMENTS:
kubernetes/resource_kubernetes_env.go
: add support for initContainers [GH-2067]kubernetes/resource_kubernetes_node_taint.go
: Remove MaxItems from taint attribute [GH-2046]BUG FIXES:
resource/kubernetes_node_taint
: Fix an issue when updating taint does not update the ID in the state file. [GH-2077]v2.19.0
Compare Source
FEATURES:
New Resource:
kubernetes_token_request_v1
. [GH-2024]BUG FIXES:
data_source/kubernetes_secret_v1
: Fix an issue where data_source cannot read secret created with generate_name. [GH-2028]data_source/kubernetes_secret
: Fix an issue where data_source cannot read secret created with generate_name. [GH-2028]kubernetes/schema_pod_spec.go
: Fix unexpected volumes appearing on plan [GH-2006]resource/kubernetes_cron_job_v1
: Fix annotation logic to prevent internalkeys from being removed in templates [GH-1983]resource/kubernetes_manifest
: Fix a panic when constructing the diagnostic message about incompatible attribute types [GH-2054]resource/kubernetes_manifest
: Fix crash when manifest config contains unknown values of unknown type (DynamicPseudoType) [GH-2055]v2.18.1
Compare Source
HOTFIX:
v2.18.0
Compare Source
FEATURES:
data_source/kubernetes_nodes
. [GH-1921]data_source/kubernetes_resources
. [GH-1967]resource/kubernetes_node_taint
. [GH-1921]ENHANCEMENT:
resource/kubernetes_annotations
: Add a new attributetemplate_annotations
that allows adding annotations to resources with pod templates. [GH-1972]resource/kubernetes_cron_job_v1
: Add a new attributespec.timezone
. [GH-1971]BUG FIXES:
resource/kubernetes_mutating_webhook_configuration
: Fix an issue when the delete operation may not be idempotent. [GH-1999]resource/kubernetes_network_policy_v1
: Fix an issue when the delete operation may not be idempotent. [GH-1999]resource/kubernetes_network_policy
: Fix an issue when the delete operation may not be idempotent. [GH-1999]resource/kubernetes_persistent_volume_claim_v1
: Fix an issue when the delete operation may not be idempotent. [GH-1999]resource/kubernetes_persistent_volume_claim
: Fix an issue when the delete operation may not be idempotent. [GH-1999]resource/kubernetes_storage_class_v1
: Fix an issue when changing the value of the attributeallow_volume_expansion
does not alter Kubernetes resource. [GH-1519]resource/kubernetes_storage_class
: Fix an issue when changing the value of the attributeallow_volume_expansion
does not alter Kubernetes resource. [GH-1519]DOCS:
data_source/kubernetes_nodes
. [GH-1921]data_source/kubernetes_resources
. [GH-1967]resource/kubernetes_node_taint
. [GH-1921]provider
: Add a note regarding theKUBECONFIG
environment variable. [GH-1989]resource/kubernetes_annotations
: Add a new attributetemplate_annotations
. [GH-1972]resource/kubernetes_job_v1
: Add documentation for the attributespec.completion_mode
. [GH-1997]resource/kubernetes_job
: Add documentation for the attributespec.completion_mode
. [GH-1997]resource/resource_kubernetes_cron_job_v1
: Add a new attributespec.timezone
. [GH-1971]v2.17.0
Compare Source
ENHANCEMENT:
grpc
topod.spec.container.liveness_probe
,pod.spec.container.readiness_probe
, andpod.spec.container.startup_probe
. That affects all resources and data sources that use mentionedpod.spec.container
probes directly or as a template. [GH-1915]resource/kubernetes_cluster_role_binding_v1
: add attributegenerate_name
to produce a unique random name [GH-1899]resource/kubernetes_cluster_role_binding
: add attributegenerate_name
to produce a unique random name [GH-1899]resource/kubernetes_cluster_role_v1
: add attributegenerate_name
to produce a unique random name [GH-1899]resource/kubernetes_cluster_role
: add attributegenerate_name
to produce a unique random name [GH-1899]resource/kubernetes_ingress_v1
: add create and delete timeouts [GH-1936]resource/kubernetes_ingress_v1
: make the attributespec.ingress_class_name
computed [GH-1947]resource/kubernetes_persistent_volume_v1
: add additional validation on the delete operation to make it idempotent [GH-1935]resource/kubernetes_persistent_volume
: add additional validation on the delete operation to make it idempotent [GH-1935]resource/kubernetes_role_binding_v1
: add attributegenerate_name
to produce a unique random name [GH-1899]resource/kubernetes_role_binding
: add attributegenerate_name
to produce a unique random name [GH-1899]v2.16.1
Compare Source
ENHANCEMENTS:
This affects the following resources:
kubernetes_api_service
kubernetes_api_service_v1
kubernetes_cluster_role
kubernetes_cluster_role_v1
kubernetes_cluster_role_binding
kubernetes_cluster_role_binding_v1
kubernetes_config_map
kubernetes_config_map_v1
kubernetes_daemonset
kubernetes_daemon_set_v1
kubernetes_deployment
kubernetes_deployment_v1
kubernetes_endpoints
kubernetes_endpoints_v1
kubernetes_horizontal_pod_autoscaler
kubernetes_horizontal_pod_autoscaler_v1
kubernetes_horizontal_pod_autoscaler_v2beta2
kubernetes_horizontal_pod_autoscaler_v2
kubernetes_mutating_webhook_configuration
kubernetes_mutating_webhook_configuration_v1
kubernetes_network_policy
kubernetes_network_policy_v1
kubernetes_persistent_volume_claim
kubernetes_persistent_volume_claim_v1
kubernetes_pod
kubernetes_pod_v1
kubernetes_pod_disruption_budget
kubernetes_pod_disruption_budget_v1
kubernetes_pod_security_policy
kubernetes_pod_security_policy_v1beta1
kubernetes_priority_class
kubernetes_replication_controller
kubernetes_resource_quota
kubernetes_role
kubernetes_role_binding
kubernetes_secret
kubernetes_namespace
kubernetes_service
kubernetes_service_account
kubernetes_stateful_set
kubernetes_storage_class
kubernetes_validating_webhook_configuration
kubernetes_validating_webhook_configuration_v1
Special thanks to @sheneska for making these changes as part of her internship @hashicorp! 🚀
v2.16.0
Compare Source
FEATURES:
kubernetes_endpoints_v1
[GH-1805]ENHANCEMENT:
runtime_class_name
topod.spec
. That affects all resources and data sources that usepod.spec
directly or as a template. [GH-1895]fs_group_change_policy
topod.spec.security_context
. That affects all resources and data sources that usepod.spec
directly or as a template. [GH-1892]kubernetes_resource
datasource [GH-1802]r/kubernetes_pod_v1
: changing values ofspec.container.resources.limits
orspec.container.resources.requests
will force resource recreation. [GH-1889]r/kubernetes_pod
: changing values ofspec.container.resources.limits
orspec.container.resources.requests
will force resource recreation. [GH-1889]BUG FIXES:
spec.container.resources.limits
orspec.container.resources.requests
does not update appropriate Kubernetes resources. Affected resources:kubernetes_pod
,kubernetes_pod_v1
. [GH-1889]spec.container.resources.limits
orspec.container.resources.requests
produce continuous diff output duringplan
although no real changes were made. Affected resources:kubernetes_pod
,kubernetes_pod_v1
,kubernetes_daemonset
,kubernetes_daemon_set_v1
,kubernetes_deployment
,kubernetes_deployment_v1
. [GH-1889]StatefulSet
,Deployment
, andDaemonSet
resources when in some cases changes ofUpdate
orCreate
timeout doesn't affect related actions. [GH-1902]DOCS:
resource/kubernetes_service_account_v1
: mark attributedefault_secret_name
as deprecated [GH-1883]resource/kubernetes_service_account
: mark attributedefault_secret_name
as deprecated [GH-1883]Thanks to all our contributors! 🎉
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.