mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-17 14:29:39 +02:00
feat: Added support for client.authentication.k8s.io/v1beta1 (#1550)
This commit is contained in:
committed by
GitHub
parent
949bebe5bc
commit
ed048f3c1a
15
locals.tf
15
locals.tf
@@ -163,13 +163,14 @@ locals {
|
||||
]
|
||||
|
||||
kubeconfig = var.create_eks ? templatefile("${path.module}/templates/kubeconfig.tpl", {
|
||||
kubeconfig_name = coalesce(var.kubeconfig_name, "eks_${var.cluster_name}")
|
||||
endpoint = local.cluster_endpoint
|
||||
cluster_auth_base64 = local.cluster_auth_base64
|
||||
aws_authenticator_command = var.kubeconfig_aws_authenticator_command
|
||||
aws_authenticator_command_args = coalescelist(var.kubeconfig_aws_authenticator_command_args, ["token", "-i", local.cluster_name])
|
||||
aws_authenticator_additional_args = var.kubeconfig_aws_authenticator_additional_args
|
||||
aws_authenticator_env_variables = var.kubeconfig_aws_authenticator_env_variables
|
||||
kubeconfig_name = coalesce(var.kubeconfig_name, "eks_${var.cluster_name}")
|
||||
endpoint = local.cluster_endpoint
|
||||
cluster_auth_base64 = local.cluster_auth_base64
|
||||
aws_authenticator_kubeconfig_apiversion = var.kubeconfig_api_version
|
||||
aws_authenticator_command = var.kubeconfig_aws_authenticator_command
|
||||
aws_authenticator_command_args = coalescelist(var.kubeconfig_aws_authenticator_command_args, ["token", "-i", local.cluster_name])
|
||||
aws_authenticator_additional_args = var.kubeconfig_aws_authenticator_additional_args
|
||||
aws_authenticator_env_variables = var.kubeconfig_aws_authenticator_env_variables
|
||||
}) : ""
|
||||
|
||||
launch_configuration_userdata_rendered = [
|
||||
|
||||
Reference in New Issue
Block a user