Skip to content

Releases: hashicorp/terraform-provider-kubernetes

v2.10.0

07 Apr 16:39
171b23f
Compare
Choose a tag to compare

NEW:

  • Resource kubernetes_labels (#692)
  • Resource kubernetes_annotations (#692)
  • Resource kubernetes_config_map_v1_data (#723)
  • Block wait with attribute rollout of kubernetes_manifest (#1549)
  • Data source and resource attributes app_protocol of kubernetes_service (#1554)
  • Attribute container_resource of resource kubernetes_horizontal_pod_autoscaler_v2beta2 (#1637)

IMPROVEMENTS:

  • Deprecate wait_for attribute in favor of wait block in kubernetes_manifest (#1549)
  • Make attribute rule optional of kubernetes_validating_webhook_configuration(_v1) and kubernetes_mutating_webhook_configuration(_v1) (#1618, #1643)
  • Update documentation and correct some errors (#1622, #1628, #1657, #1681)

BUG FIXES:

  • Fix crash when multiple match_expression are used in kubernetes_resource_quota (#1561)
  • Fix issue when in some circumstances changes of seLinuxOptions.Type doesn't reflect in the state file (#1650)
  • Ignore service account volumes with kube-api-access prefix (#1663)

v2.9.0

21 Mar 15:46
4db9991
Compare
Choose a tag to compare

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 either apiVersion or kind attributes change (#1593)
  • Make attribute http of resource kubernetes_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 attributes wait_for_completion and ttl_seconds_after_finished are used together (#1619)
  • Update documentation examples and correct some errors (#1597, #1611, #1612, #1626)

BUG FIXES:

  • Fix logic of wait_for_rollout attribute of kubernetes_deployment (#1405)
  • Fix fail when the provider cannot determine default_secret_name (#1634)

v2.8.0

09 Feb 23:31
Compare
Choose a tag to compare

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 on kubernetes_manifest
  • Attribute backend.service.port.name in kubernetes_ingress_v1 should be type String (#1541)

v2.7.1

06 Dec 17:37
Compare
Choose a tag to compare

BUG FIXES:

  • Fix type-morphing of Map into Map (#1521)

v2.7.0

07 Dec 18:17
Compare
Choose a tag to compare

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

25 Oct 10:55
Compare
Choose a tag to compare

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

v2.6.0

19 Oct 17:57
Compare
Choose a tag to compare

2.6.0 (October 19, 2021)

IMPROVEMENTS:

  • kubernetes_manifest is now GA and enabled by default

BUG FIXES:

  • kubernetes_manifest now correctly handles empty blocks as attribute values (#1352)
  • kubernetes_manifest now correctly handles multiple CRDs with different number of schema versions (#1460)

v2.5.1

18 Oct 09:15
Compare
Choose a tag to compare

IMPROVEMENTS:

Allow setting kubernetes_job parallelism to zero (#1334)
Add kubernetes_ingress_class resource (#1236)
Add immutable field to kubernetes_secret (#1280)
Add behavior field to horizontal_pod_autoscaler (#1030)
Add proxy_url attribute to provider configuration block (#1441)
BUG FIXES:

Always generate standard ObjectMeta for CRD types (#1418)
Fix importing kubernetes_manifest resources (#1440)
Fix documentation example for field_manager block (#1410)
Fix kubernetes_job "No waiting" documentation example (#1383)
Fix docs formatting for kubernetes_secret (#1434)

v2.5.0

14 Sep 22:12
Compare
Choose a tag to compare

IMPROVEMENTS:

  • Timeouts block on kubernetes_manifest
  • kubernetes_manifest supports setting field_manager name and "force" mode
  • kubernetes_manifest checks that resource exists before trying to create
  • kubernetes_manifest supports "computed" attributes
  • kubernetes_manifest supports import operations

BUG FIXES:

  • Fix typo in kubernetes_manifest documentation
  • Document that kubernetes_manifest must be enabled in the provider block.
  • Docs for ingress_class_name in kubernetes_ingress

v2.4.1

03 Aug 16:49
Compare
Choose a tag to compare

HOTFIX:

Fix kubernetes_manifest Terraform version constraint causing error on 0.12/0.13 (#1345)