allow user to overwrite the kubeconfig default args (#129)

* allow user to overwrite the kubeconfig default args

* quote args to auth command
This commit is contained in:
Nic Grayson
2018-11-01 11:14:07 -05:00
committed by Max Williams
parent 31ec0f7db3
commit e1e265bf21
3 changed files with 9 additions and 5 deletions

View File

@@ -102,6 +102,12 @@ variable "kubeconfig_aws_authenticator_command" {
default = "aws-iam-authenticator"
}
variable "kubeconfig_aws_authenticator_command_args" {
description = "Default arguments passed to the authenticator command. Defaults to [token -i $cluster_name]."
type = "list"
default = []
}
variable "kubeconfig_aws_authenticator_additional_args" {
description = "Any additional arguments to pass to the authenticator such as the role to assume. e.g. [\"-r\", \"MyEksRole\"]."
type = "list"