apiVersion: v1
kind: ConfigMap
metadata:
  name: aws-auth
  namespace: kube-system
data:
  mapRoles: |
    - rolearn: {{eks_node_role_arn}}
      username: system:node:{{'{{'}}EC2PrivateDNSName{{'}}'}}
      groups:
        - system:bootstrappers
        - system:nodes
    - rolearn: {{deployment_server_role_arn}}
      username: system:serviceaccount:default:deployment-admin
      groups:
        - system:serviceaccounts:default
