terraform-provider-kubectl icon indicating copy to clipboard operation
terraform-provider-kubectl copied to clipboard

Add provider option tls_server_name

Open ciiiii opened this issue 1 year ago • 6 comments

Motivation

Support tls_server_name in provider configuration, same to https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs#tls_server_name

ciiiii avatar Oct 07 '23 11:10 ciiiii

cc @gavinbunney

ciiiii avatar Oct 07 '23 11:10 ciiiii

Anything we can do to get this merged? Currently unable to use the provider as I have an EKS cluster that is behind an ssm bastion host and I need to connect to it over localhost.

Asara avatar Dec 12 '23 21:12 Asara

Anything we can do to get this merged? Currently unable to use the provider as I have an EKS cluster that is behind an ssm bastion host and I need to connect to it over localhost.

It seems that the author has been inactive on GitHub for some time, not sure if there're any reliable fork providers that are well-maintained.

ciiiii avatar Dec 13 '23 10:12 ciiiii

@Asara FYI, I am currently generating a local kubeconfig as a temporary workaround to support tls_server_name.

ciiiii avatar Dec 13 '23 10:12 ciiiii

Released in my form in 2.0.4-rc2 (https://github.com/alekc/terraform-provider-kubectl/releases) If you guys can provide feedback it would be great :)

terraform {
  required_providers {
    kubectl = {
      source = "alekc/kubectl"
      version = "2.0.4-rc2"
    }
  }
}

alekc avatar Dec 14 '23 13:12 alekc

@alekc it works perfectly. Thanks so much!

Asara avatar Dec 14 '23 14:12 Asara