Releases: hashicorp/terraform-provider-kubernetes
Releases · hashicorp/terraform-provider-kubernetes
v2.17.0
ENHANCEMENT:
- Add a new optional attribute
grpctopod.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.containerprobes directly or as a template. [GH-1915] resource/kubernetes_cluster_role_binding_v1: add attributegenerate_nameto produce a unique random name [GH-1899]resource/kubernetes_cluster_role_binding: add attributegenerate_nameto produce a unique random name [GH-1899]resource/kubernetes_cluster_role_v1: add attributegenerate_nameto produce a unique random name [GH-1899]resource/kubernetes_cluster_role: add attributegenerate_nameto 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_namecomputed [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_nameto produce a unique random name [GH-1899]resource/kubernetes_role_binding: add attributegenerate_nameto produce a unique random name [GH-1899]
Community Contributors 🙌
- @AmandaHassoun made their contribution in #1944
- @shihai1991 made their contribution in #1922
- @Tensho made their contribution in #1936
- @multani made their contribution in #1899
- @sherifabdlnaby made their contribution in #1935
- @dgnemo made their contribution in #1915
v2.16.1
ENHANCEMENTS:
- Add additional validation on the delete operation to make it idempotent. [GH-1914], [GH-1919], [GH-1898]
This affects the following resources:
kubernetes_api_servicekubernetes_api_service_v1kubernetes_cluster_rolekubernetes_cluster_role_v1kubernetes_cluster_role_bindingkubernetes_cluster_role_binding_v1kubernetes_config_mapkubernetes_config_map_v1kubernetes_daemonsetkubernetes_daemon_set_v1kubernetes_deploymentkubernetes_deployment_v1kubernetes_endpointskubernetes_endpoints_v1kubernetes_horizontal_pod_autoscalerkubernetes_horizontal_pod_autoscaler_v1kubernetes_horizontal_pod_autoscaler_v2beta2kubernetes_horizontal_pod_autoscaler_v2kubernetes_mutating_webhook_configurationkubernetes_mutating_webhook_configuration_v1kubernetes_network_policykubernetes_network_policy_v1kubernetes_persistent_volume_claimkubernetes_persistent_volume_claim_v1kubernetes_podkubernetes_pod_v1kubernetes_pod_disruption_budgetkubernetes_pod_disruption_budget_v1kubernetes_pod_security_policykubernetes_pod_security_policy_v1beta1kubernetes_priority_classkubernetes_replication_controllerkubernetes_resource_quotakubernetes_rolekubernetes_role_bindingkubernetes_secretkubernetes_namespacekubernetes_servicekubernetes_service_accountkubernetes_stateful_setkubernetes_storage_classkubernetes_validating_webhook_configurationkubernetes_validating_webhook_configuration_v1
Special thanks to @sheneska for making these changes as part of her internship @hashicorp! 🚀
v2.16.0
FEATURES:
- New data source:
kubernetes_endpoints_v1[GH-1805]
ENHANCEMENT:
- Add a new optional attribute
runtime_class_nametopod.spec. That affects all resources and data sources that usepod.specdirectly or as a template. [GH-1895] - Add a new optional attribute
fs_group_change_policytopod.spec.security_context. That affects all resources and data sources that usepod.specdirectly or as a template. [GH-1892] - The kubernetes status field is now available in the
kubernetes_resourcedatasource [GH-1802] r/kubernetes_pod_v1: changing values ofspec.container.resources.limitsorspec.container.resources.requestswill force resource recreation. [GH-1889]r/kubernetes_pod: changing values ofspec.container.resources.limitsorspec.container.resources.requestswill force resource recreation. [GH-1889]
BUG FIXES:
- Fix an issue when changing values of
spec.container.resources.limitsorspec.container.resources.requestsdoes not update appropriate Kubernetes resources. Affected resources:kubernetes_pod,kubernetes_pod_v1. [GH-1889] - Fix an issue when empty values of
spec.container.resources.limitsorspec.container.resources.requestsproduce continuous diff output duringplanalthough 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] - Fix an issue with timeouts for
StatefulSet,Deployment, andDaemonSetresources when in some cases changes ofUpdateorCreatetimeout doesn't affect related actions. [GH-1902]
DOCS:
resource/kubernetes_service_account_v1: mark attributedefault_secret_nameas deprecated [GH-1883]resource/kubernetes_service_account: mark attributedefault_secret_nameas deprecated [GH-1883]
Thanks to all our contributors! 🎉
Community Contributors 🙌
- @Dudesons made their contribution in #1805
- @St0rmingBr4in made their contribution in #1802
- @kylecarbs made their contribution in #1895
v2.15.0
ENHANCEMENT:
- Add new resource resource_kubernetes_env [GH-1838]
- Add "field_manager" attribute to kubernetes_labels, kubernetes_annotations, kubernetes_config_map_v1_data [GH-1831]
- r/kubernetes_horizontal_pod_autoscaler_v2: make attribute
spec.behavior.scale_downcomputed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2: make attribute
spec.behavior.scale_upcomputed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2: make attribute
spec.behaviorcomputed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2beta2: make attribute
spec.behavior.scale_downcomputed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2beta2: make attribute
spec.behavior.scale_upcomputed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2beta2: make attribute
spec.behaviorcomputed [GH-1853]
v2.14.0
ENHANCEMENT:
- Added "preemption_policy" attribute to the priority_class resource. [GH-1846]
- new attribute: Add immutable attribute to resource_config_map [GH-1849]
- resource/kubernetes_secret: Add a new attribute
wait_for_service_account_tokenand correspondingcreatetimeout
resource/kubernetes_secret_v1: Add a new attributewait_for_service_account_tokenand correspondingcreatetimeout [GH-1833]
DOCS:
- r/kubernetes_service: make
spec.portblock optional [GH-1856] - r/kubernetes_service_v1: make
spec.portblock optional [GH-1856]
2.13.1 (August 29, 2022)
BUG FIXES:
- [TK-78009] Fix propagation of non-fatal Diagnostics in the type morphing logic
v2.13.1
v2.13.0
BUG FIXES:
- Starting from Kubernetes 1.24.0 service account token is not automatically generated, thus it has to create separately. The following resources were updated to handle this change:
d/kubernetes_service_account,r/kubernetes_default_service_account,r/kubernetes_service_account. For Kubernetes clusters running v1.24+default_secret_namewill be empty. A warning message will be printed once any of the above resources are in use. (#1792)
IMPROVEMENTS:
v2.12.1
v2.12.0
NEW:
- Attribute
ignore_annotationsofprovider(#746) - Attribute
ignore_labelsofprovider(#746) - Attribute
conditiontowaitblock ofkubernetes_manifest(#1595) - Attribute
allocate_load_balancer_node_portsofkubernetes_service(_v1)(#1683) - Attribute
cluster_ipsofkubernetes_service(_v1)(#1683) - Attribute
internal_traffic_policyofkubernetes_service(_v1)(#1683) - Attribute
load_balancer_classofkubernetes_service(_v1)(#1683) - Attribute
session_affinity_configofkubernetes_service(_v1)(#1683)
IMPROVEMENTS:
- Update documentation and correct some errors (#1706, #1708)
- Fix security scan alerts (#1727, #1730, #1731)
- Attribute
topology_keyofkubernetes_deployment(_v1)marked asRequired(#1736)
BUG FIXES:
v2.11.0
NEW:
- Add a new resource
kubernetes_horizontal_pod_autoscaler_v2(#1674)
IMPROVEMENTS:
- Add
ip_familiesandip_family_policyattributes tokubernetes_service(#1662) - Handle
x-kubernetes-preserve-unknown-fieldstype annotation from OpenAPI: changes to attributes of this type trigger whole resource recreation. (#1646) - Upgrade terraform-plugin-mux to v0.6.0 (#1686)
- Add GitHub action for EKS acceptance tests (#1656)
- Add github action for acceptance tests using kind (#1691)
BUG FIXES: