Releases: hashicorp/terraform-provider-kubernetes
Releases Β· hashicorp/terraform-provider-kubernetes
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_name
will 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_annotations
ofprovider
(#746) - Attribute
ignore_labels
ofprovider
(#746) - Attribute
condition
towait
block ofkubernetes_manifest
(#1595) - Attribute
allocate_load_balancer_node_ports
ofkubernetes_service(_v1)
(#1683) - Attribute
cluster_ips
ofkubernetes_service(_v1)
(#1683) - Attribute
internal_traffic_policy
ofkubernetes_service(_v1)
(#1683) - Attribute
load_balancer_class
ofkubernetes_service(_v1)
(#1683) - Attribute
session_affinity_config
ofkubernetes_service(_v1)
(#1683)
IMPROVEMENTS:
- Update documentation and correct some errors (#1706, #1708)
- Fix security scan alerts (#1727, #1730, #1731)
- Attribute
topology_key
ofkubernetes_deployment(_v1)
marked asRequired
(#1736)
BUG FIXES:
v2.11.0
NEW:
- Add a new resource
kubernetes_horizontal_pod_autoscaler_v2
(#1674)
IMPROVEMENTS:
- Add
ip_families
andip_family_policy
attributes tokubernetes_service
(#1662) - Handle
x-kubernetes-preserve-unknown-fields
type 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
wait
with attributerollout
ofkubernetes_manifest
(#1549) - Data source and resource attributes
app_protocol
ofkubernetes_service
(#1554) - Attribute
container_resource
of resourcekubernetes_horizontal_pod_autoscaler_v2beta2
(#1637)
IMPROVEMENTS:
- Deprecate
wait_for
attribute in favor ofwait
block inkubernetes_manifest
(#1549) - Make attribute
rule
optional 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
csi
to pod spec (#1092) - Add
kubernetes_resource
data source (#1548) kubernetes_manifest
resource force the re-creation of the resource when eitherapiVersion
orkind
attributes change (#1593)- Make attribute
http
of resourcekubernetes_ingress_v1
optional (#1613) - Add a new attribute
seccomp_profile
to pod and container spec (#1617) - Add additional check to resource
kubernetes_job_v1
when attributeswait_for_completion
andttl_seconds_after_finished
are used together (#1619) - Update documentation examples and correct some errors (#1597, #1611, #1612, #1626)
BUG FIXES:
v2.8.0
2.8.0 (February 09, 2022)
IMPROVEMENTS:
- Add mutating_webhook_configuration_v1 data source (#1423)
- Remove enabling experiment section (#1564)
- Update kubernetes dependencies (#1574)
- Update terraform-plugin-go and terraform-plugin-sdk (#1551)
BUG FIXES:
- Fix
panic: lists must only contain one type of element
errors onkubernetes_manifest
- Attribute
backend.service.port.name
inkubernetes_ingress_v1
should be type String (#1541)
v2.7.1
v2.7.0
IMPROVEMENTS:
- Add support for storage/v1
- Add support for certificates/v1
- Add support for networking/v1
- Add support for policy/v1
- Add completion_mode to job spec
- Improve performance of kubernetes_manifest by reducing amount of API calls
BUG FIXES:
- Fix crash when container env block is empty
- Fix invalid allowedHostPaths PodSecurityPolicy patch
- Fix handling of "null" values on fields of kubernetes_manifest
This release introduces version suffixes to the names of resources and datasources. See our documentation page for more details on this convention and the motivation behind it.
v2.6.1
2.6.1 (October 22, 2021)
BUG FIXES:
Fix import ID syntax in manifest import docs
Tolerate unknown values in "env" and "exec" provider attributes
Remove "beta" designation of the kubernetes_manifest from documentation