From c713b7c1f6111fc2bad03df279d747ec845d6a3a Mon Sep 17 00:00:00 2001 From: ArchiFleKs Date: Thu, 6 Jun 2019 15:34:41 +0200 Subject: [PATCH] feat: enable custom map_user --- terraform/modules/eks/outputs.tf | 2 ++ terraform/modules/eks/variables.tf | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/terraform/modules/eks/outputs.tf b/terraform/modules/eks/outputs.tf index af520765..cae6fb5b 100644 --- a/terraform/modules/eks/outputs.tf +++ b/terraform/modules/eks/outputs.tf @@ -17,6 +17,8 @@ data: - system:bootstrappers - system:nodes ${var.virtual_kubelet["create_iam_resources_kiam"] ? "- rolearn: ${join(",", aws_iam_role.eks-virtual-kubelet.*.arn)}\n username: virtual-kubelet\n groups:\n - system:masters\n" : ""} + mapUsers: | + ${indent(4,var.map_users)} CONFIGMAPAWSAUTH kubeconfig = <