Skip to content

Commit dcc6e08

Browse files
clstokesCopilotrajsinghtech
authored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Raj Singh <rajsinghcpre@gmail.com>
1 parent 2c00fca commit dcc6e08

File tree

1 file changed

+4
-1
lines changed
  • terraform/aws/aws-eks-operator

1 file changed

+4
-1
lines changed

terraform/aws/aws-eks-operator/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ module "eks" {
7373

7474
eks_managed_node_groups = {
7575
main = {
76+
# Truncate the node group name to 20 characters to comply with AWS/EKS
77+
# node group naming length constraints.
7678
name = substr(local.name, 0, 20)
7779
instance_types = [local.node_instance_type]
7880

@@ -121,7 +123,8 @@ resource "helm_release" "tailscale_operator" {
121123
hostname = local.operator_name
122124
}
123125
apiServerProxyConfig = {
124-
mode = true
126+
mode = "true"
127+
allowImpersonation = "true"
125128
tags = "tag:k8s-operator,tag:k8s-api-server"
126129
}
127130
})

0 commit comments

Comments
 (0)