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 usingk8s.GetIngress
, replace the call withk8s.GetIngressV1Beta1
. - Do not update to this version if you are using Kubernetes version 1.13 and lower.