Updatestf-k8s

Terraform Kubernetes Provider: 3 New Features in Sub Path Expr, Deployment V1

v2.37.1v2.38.0Verified February 18, 2026

Quick Summary

This release includes 19 changes, with 3 new features and 16 behavior updates. The updates primarily focus on fixing issues related to toleration under pod spec templates for various Kubernetes resources, such as deployments, jobs, and stateful sets. Additionally, new features include support for ResourceIdentity in kubernetes_manifest and sub_path_expr in volume mount options. The changes aim to improve the stability and accuracy of the Terraform provider for Kubernetes.

Changes by Severity

#### 🟢 Informational

The release includes several behavior updates that fix issues with toleration under pod spec templates for various resources. These changes will improve the overall stability of the provider.

#### 🟡 Plan Ahead

The addition of ResourceIdentity support to kubernetes_manifest and SDKv2 resources may require updates to existing configurations. It's essential to review the new features and plan for potential changes to your Terraform configurations.

#### 🔴 Immediate Action Required

No immediate action is required, but it's crucial to review the changes and update your configurations accordingly to ensure compatibility with the new version.

Migration Playbook

1. Review the release notes: Carefully read through the release notes to understand the changes and their impact on your configurations.

2. Update your Terraform provider version: Upgrade your Terraform provider to the latest version (v2.38.0) to take advantage of the new features and bug fixes.

3. Check for toleration issues: Verify if your configurations are affected by the toleration issues fixed in this release. You can do this by checking your pod spec templates for resources like deployments, jobs, and stateful sets.

4. Update your pod spec templates: If your configurations are affected, update your pod spec templates to include the necessary tolerations.

5. Test your configurations: Thoroughly test your updated configurations to ensure they work as expected with the new provider version.

Verification Checklist

  • ☐ Review the release notes for any breaking changes
  • ☐ Upgrade your Terraform provider to the latest version (v2.38.0)
  • ☐ Verify that your configurations are not affected by the toleration issues
  • ☐ Update your pod spec templates if necessary
  • ☐ Test your updated configurations
  • ☐ Check for any unexpected behavior or errors
  • References

    * [Release v2.38.0](https://github.com/hashicorp/terraform-provider-kubernetes/releases/tag/v2.38.0)

    * [Release v2.37.1](https://github.com/hashicorp/terraform-provider-kubernetes/releases/tag/v2.37.1)

    Last verified at: 2026-02-18T13:47:42.100325+00:00

    Editor's Note:

    As we review this release, we notice that it's primarily a maintenance update with a focus on fixing existing issues. We've seen a trend of the Terraform provider for Kubernetes receiving regular updates to improve its stability and compatibility with the evolving Kubernetes ecosystem. When updating to this version, we recommend paying close attention to the changes related to toleration under pod spec templates, as these may impact your existing configurations.

    📎 Sources