apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig

metadata:
  name: wavtool
  region: us-east-1
  version: "1.27"

iamIdentityMappings:
  - account: "035363416972"

  - arn: arn:aws:iam::035363416972:user/MarcBurns
    groups:
      - system:masters
    username: MarcBurns
    noDuplicateARNs: true

  - arn: arn:aws:iam::035363416972:user/SamWatkinson
    groups:
      - system:masters
    username: SamWatkinson
    noDuplicateARNs: true

  - arn: arn:aws:iam::035363416972:user/github-prod-uploader
    groups:
      - wavtool:ci
    username: github-prod-uploader
    noDuplicateARNs: true

addons:
  - name: vpc-cni
    version: "v1.15.0-eksbuild.2"
  - name: kube-proxy
    version: "v1.27.4-eksbuild.2"
  - name: coredns
    version: "v1.10.1-eksbuild.4"
  - name: aws-efs-csi-driver
    version: "v1.7.0-eksbuild.1"
  - name: aws-ebs-csi-driver
    version: "v1.24.0-eksbuild.1"

managedNodeGroups:
  - name: mng-cluster-services
    instanceType: t4g.medium
    desiredCapacity: 3
    volumeSize: 20
    maxPodsPerNode: 110
    ssh:
      publicKeyName: marc-laptop
      allow: true
