Difference between revisions of "Client.authentication.k8s.io/v1beta1"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lc}} == See also == * {{k8s.io}} * {{kubernetes.io}} Category:Kubernetes")
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
 +
{{provider helm karpenter example}}
 +
 +
{{Provider kubectl conf}}
 +
 +
== Related ==
 +
* [[aws eks get-token]]
  
 
== See also ==
 
== See also ==
 +
* {{client.authentication.k8s.io}}
 
* {{k8s.io}}
 
* {{k8s.io}}
 
* {{kubernetes.io}}
 
* {{kubernetes.io}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 18:51, 12 February 2024

provider "helm" {
 kubernetes {
   host                   = module.eks.cluster_endpoint
   cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)

   exec {
     api_version = "client.authentication.k8s.io/v1beta1"
     command     = "aws"
     # This requires the awscli to be installed locally where Terraform is executed
     args = ["eks", "get-token", "--cluster-name", module.eks.cluster_name]
   }
 }
}
provider "kubectl" {
 host                   = module.eks.cluster_endpoint
 cluster_ca_certificate = base64decode(module.eks.cluster_certificate_authority_data)
 load_config_file       = false
 apply_retry_count      = 5

 exec {
   api_version = "client.authentication.k8s.io/v1beta1"
   command     = "aws"
   # This requires the awscli to be installed locally where Terraform is executed
   args = ["eks", "get-token", "--cluster-name", module.eks.cluster_name]
 }
}

Related[edit]

See also[edit]

Advertising: