Difference between revisions of "AWS authenticator configuration map"
Jump to navigation
Jump to search
(Created page with " * https://s3.us-west-2.amazonaws.com/amazon-eks/cloudformation/2020-10-29/aws-auth-cm.yaml {{aws-auth}}") |
|||
Line 1: | Line 1: | ||
+ | |||
+ | apiVersion: v1 | ||
+ | kind: ConfigMap | ||
+ | metadata: | ||
+ | name: aws-auth | ||
+ | namespace: kube-system | ||
+ | data: | ||
+ | mapRoles: | | ||
+ | - rolearn: <ARN of [[instance role]] (not [[instance profile]])> | ||
+ | username: system:node:{{EC2PrivateDNSName}} | ||
+ | groups: | ||
+ | - system:bootstrappers | ||
+ | - system:nodes | ||
Latest revision as of 17:58, 12 September 2023
apiVersion: v1 kind: ConfigMap metadata: name: aws-auth namespace: kube-system data: mapRoles: | - rolearn: <ARN of instance role (not instance profile)> username: system:node:Template:EC2PrivateDNSName groups: - system:bootstrappers - system:nodes
AWS IAM Authenticator for Kubernetes: aws-auth, kubectl edit -n kube-system configmap/aws-auth, eksctl create iamidentitymapping
, mapUsers:, mapRoles:, mapAccounts:
Advertising: