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_name
topod.spec
. That affects all resources and data sources that usepod.spec
directly or as a template. [GH-1895] - Add a new optional attribute
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] - The kubernetes status field is now available in the
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:
- Fix an issue when changing values of
spec.container.resources.limits
orspec.container.resources.requests
does not update appropriate Kubernetes resources. Affected resources:kubernetes_pod
,kubernetes_pod_v1
. [GH-1889] - Fix an issue when empty values of
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] - Fix an issue with timeouts for
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! 🎉
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_down
computed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2: make attribute
spec.behavior.scale_up
computed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2: make attribute
spec.behavior
computed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2beta2: make attribute
spec.behavior.scale_down
computed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2beta2: make attribute
spec.behavior.scale_up
computed [GH-1853] - r/kubernetes_horizontal_pod_autoscaler_v2beta2: make attribute
spec.behavior
computed [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_token
and correspondingcreate
timeout
resource/kubernetes_secret_v1: Add a new attributewait_for_service_account_token
and correspondingcreate
timeout [GH-1833]
DOCS:
- r/kubernetes_service: make
spec.port
block optional [GH-1856] - r/kubernetes_service_v1: make
spec.port
block 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_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: