Skip to content

Update Terraform kubernetes to v2.16.0 - autoclosed

Renovate Bot requested to merge renovate/kubernetes-2.x into main

This MR contains the following updates:

Package Type Update Change
kubernetes (source) required_provider minor 2.12.1 -> 2.16.0

Dependency Lookup Warnings

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

hashicorp/terraform-provider-kubernetes

v2.16.0

Compare Source

FEATURES:

  • New data source: kubernetes_endpoints_v1 [GH-1805]

ENHANCEMENT:

  • Add a new optional attribute runtime_class_name to pod.spec. That affects all resources and data sources that use pod.spec directly or as a template. [GH-1895]
  • Add a new optional attribute fs_group_change_policy to pod.spec.security_context. That affects all resources and data sources that use pod.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 of spec.container.resources.limits or spec.container.resources.requests will force resource recreation. [GH-1889]
  • r/kubernetes_pod: changing values of spec.container.resources.limits or spec.container.resources.requests will force resource recreation. [GH-1889]

BUG FIXES:

  • Fix an issue when changing values of spec.container.resources.limits or spec.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 or spec.container.resources.requests produce continuous diff output during plan 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, and DaemonSet resources when in some cases changes of Update or Create timeout doesn't affect related actions. [GH-1902]

DOCS:

  • resource/kubernetes_service_account_v1: mark attribute default_secret_name as deprecated [GH-1883]
  • resource/kubernetes_service_account: mark attribute default_secret_name as deprecated [GH-1883]

Thanks to all our contributors! 🎉

v2.15.0

Compare Source

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

Compare Source

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 corresponding create timeout resource/kubernetes_secret_v1: Add a new attribute wait_for_service_account_token and corresponding create 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]

v2.13.1

Compare Source

BUG FIXES:

  • [TK-78009] Fix propagation of non-fatal Diagnostics in the type morphing logic

v2.13.0

Compare Source

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)

IMMROVEMENTS:

  • r/kubernetes_manifest: Better error messages from OpenAPI schema transformations (#​1780)
  • Update documentation and correct some errors (#​1768, #​1786)
  • Update acceptance tests infrastructure code for GKE and AKE and related GitHub Actions

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports