This will install an updated Terraform Kubernetes provider plugin in your Terraform working directory:
curl https://gist.githubusercontent.com/synhershko/f8c14a8031e3b756ccbf5041f6a7c253/raw/38be5292603595c541f6ad3df811e6c0be92b8df/kube-provider.sh | bash -s
As opposed to the provider maintained by HashiCorp, the provider plugin referenced here is up to date and has support for the latest Kubernetes APIs (like Deployments, Jobs, etc). Hence this script.