Updatestf-k8s

Terraform Kubernetes Provider: 1 Deprecation in Ip Mode, Manifest

v2.38.0v3.0.0Verified February 18, 2026

Quick Summary

This release includes several new features, a deprecation notice, and behavior changes that affect various resources, including ip_mode and kubernetes_manifest. The updates add support for sidecar containers, introduce an ip_mode attribute, and bump Kubernetes dependencies to v1.33. Additionally, there are changes to how environment variables interact with kubernetes_manifest and a fix for an issue with resource/kubernetes_daemon_set_v1. Overall, these changes aim to enhance the functionality and compatibility of the Terraform provider for Kubernetes.

Changes by Severity

#### 🔴 Immediate Action Required

The deprecation notice for Data Sources requires immediate attention, as it may impact existing configurations.

#### 🟡 Plan Ahead

The introduction of the ip_mode attribute and the updated Kubernetes dependencies to v1.33 are significant changes that should be planned for, especially if your current setup relies on specific ip_mode configurations or older Kubernetes versions.

#### 🟢 Informational

The addition of support for sidecar containers via the restart_policy field, ValidatingAdmissionPolicy, and the changes to kubernetes_manifest behavior are informational, providing new capabilities and improving existing ones.

Editor's Note: We've observed that this release marks a significant shift towards enhancing the provider's compatibility with newer Kubernetes versions and expanding its feature set. As we review these changes, we note that developers should pay particular attention to the deprecation notice and plan accordingly to avoid disruptions. One practical tip for developers affected by the top change is to review their current Data Sources configurations and adjust them according to the deprecation notice to ensure a smooth transition.

Migration Playbook

1. Review your current Data Sources configurations and adjust them according to the deprecation notice.

2. Update your init_container spec to include the restart_policy field for sidecar container support.

3. Add the ip_mode attribute to your service status configurations where necessary.

4. Bump your Kubernetes dependencies to v1.33 in your Terraform configurations.

5. Test your kubernetes_manifest configurations to ensure environment variables are not overriding the configuration as expected.

6. Verify that resource/kubernetes_daemon_set_v1 is waiting for rollout with wait_for_rollout = true as expected.

7. Validate your configurations against the updated ValidatingAdmissionPolicy support.

Verification Checklist

  • ☐ Review Data Sources configurations for deprecation adjustments
  • ☐ Test sidecar container support with the restart_policy field
  • ☐ Validate ip_mode attribute addition in service status
  • ☐ Confirm Kubernetes dependencies update to v1.33
  • ☐ Verify kubernetes_manifest behavior with environment variables
  • ☐ Check resource/kubernetes_daemon_set_v1 rollout wait behavior
  • References

  • [Release v3.0.0](https://github.com/hashicorp/terraform-provider-kubernetes/releases/tag/v3.0.0)
  • [Release v2.38.0](https://github.com/hashicorp/terraform-provider-kubernetes/releases/tag/v2.38.0)
  • Last verified at: 2026-02-18T13:47:35.796373+00:00

    📎 Sources