From ab56808339b70bb7e5eae23b9a151fa4d07b1fbf Mon Sep 17 00:00:00 2001 From: Nic Klaassen Date: Thu, 17 Feb 2022 10:56:49 -0800 Subject: [PATCH] IAM Joining Docs: Set join_method in token.yaml (#10433) --- docs/pages/setup/guides/joining-nodes-aws.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/pages/setup/guides/joining-nodes-aws.mdx b/docs/pages/setup/guides/joining-nodes-aws.mdx index 177d75970c3..e0cbe81fb6e 100644 --- a/docs/pages/setup/guides/joining-nodes-aws.mdx +++ b/docs/pages/setup/guides/joining-nodes-aws.mdx @@ -123,6 +123,9 @@ spec: # use the minimal set of roles required roles: [Node] + # set the join method allowed for this token + join_method: iam + allow: # specify the AWS account which nodes may join from - aws_account: "111111111111" @@ -167,6 +170,9 @@ spec: # use the minimal set of roles required roles: [Node] + # set the join method allowed for this token + join_method: ec2 + # aws_iid_ttl is the amount of time after the EC2 instance is launched during # which it should be allowed to join the cluster. Use a short TTL to decrease # the risk of stolen EC2 Instance Identity Documents being used to join your