Releases: hashicorp/terraform-provider-kubernetes
Releases Β· hashicorp/terraform-provider-kubernetes
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:
v2.10.0
NEW:
- Resource
kubernetes_labels(#692) - Resource
kubernetes_annotations(#692) - Resource
kubernetes_config_map_v1_data(#723) - Block
waitwith attributerolloutofkubernetes_manifest(#1549) - Data source and resource attributes
app_protocolofkubernetes_service(#1554) - Attribute
container_resourceof resourcekubernetes_horizontal_pod_autoscaler_v2beta2(#1637)
IMPROVEMENTS:
- Deprecate
wait_forattribute in favor ofwaitblock inkubernetes_manifest(#1549) - Make attribute
ruleoptional ofkubernetes_validating_webhook_configuration(_v1)andkubernetes_mutating_webhook_configuration(_v1)(#1618, #1643) - Update documentation and correct some errors (#1622, #1628, #1657, #1681)
BUG FIXES:
v2.9.0
IMPROVEMENTS:
- Add attribute
csito pod spec (#1092) - Add
kubernetes_resourcedata source (#1548) kubernetes_manifestresource force the re-creation of the resource when eitherapiVersionorkindattributes change (#1593)- Make attribute
httpof resourcekubernetes_ingress_v1optional (#1613) - Add a new attribute
seccomp_profileto pod and container spec (#1617) - Add additional check to resource
kubernetes_job_v1when attributeswait_for_completionandttl_seconds_after_finishedare used together (#1619) - Update documentation examples and correct some errors (#1597, #1611, #1612, #1626)
BUG FIXES: