mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-26 19:31:06 +01:00
Merge pull request #52 from max-rocket-internet/kubeconfig-fixes
Making kubeconfig file path and generated config unique
This commit is contained in:
15
variables.tf
15
variables.tf
@@ -80,16 +80,6 @@ variable "worker_sg_ingress_from_port" {
|
||||
default = "1025"
|
||||
}
|
||||
|
||||
variable "kubeconfig_context_name" {
|
||||
description = "Name of the kubeconfig context."
|
||||
default = "aws"
|
||||
}
|
||||
|
||||
variable "kubeconfig_user_name" {
|
||||
description = "Name of the kubeconfig user."
|
||||
default = "aws"
|
||||
}
|
||||
|
||||
variable "kubeconfig_aws_authenticator_command" {
|
||||
description = "Command to use to to fetch AWS EKS credentials"
|
||||
default = "heptio-authenticator-aws"
|
||||
@@ -104,3 +94,8 @@ variable "kubeconfig_aws_authenticator_env_variables" {
|
||||
description = "Environment variables that should be used when executing the authenticator i.e. { AWS_PROFILE = \"eks\"}"
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "kubeconfig_name" {
|
||||
description = "Override the default name used for items kubeconfig"
|
||||
default = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user