AWS authenticator configuration map

From wikieduonline
Jump to navigation Jump to search


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: