github gruntwork-io/terratest v0.34.0

latest releases: v0.46.13, v0.46.12, v0.46.11...
2 years ago

Modules affected

  • k8s [BACKWARD INCOMPATIBLE]

Description

All Ingress related functions (see k8s/ingress.go) are now using networking.k8s.io/v1 API instead of extensions/v1beta1. Additionally, versions of the function that support networking.k8s.io/v1beta1 have also been introduced (e.g., k8s.GetIngressV1Beta1). With this change, support for Kubernetes 1.13 and lower have been dropped from terratest (networking.k8s.io/v1beta1 was introduced in Kubernetes version 1.14).

Migration guide

Update your terratest Ingress function calls based on which Kubernetes version you are using:

  • If you are using Kubernetes version 1.19 and above, no change is necessary.
  • If you are using Kubernetes version 1.14 ~ 1.19, update your calls to the V1Beta1 version. E.g., if you were using k8s.GetIngress, replace the call with k8s.GetIngressV1Beta1.
  • Do not update to this version if you are using Kubernetes version 1.13 and lower.

Related links

Don't miss a new terratest release

NewReleases is sending notifications on new releases.