Skip to content

Commit

Permalink
docs: fix issue with eks/cluster usage snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtoj committed Aug 7, 2023
1 parent ba309ab commit 7971371
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions modules/eks/cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,13 @@ components:
vars:
enabled: true
name: eks
iam_primary_roles_tenant_name: core
cluster_kubernetes_version: "1.25"
cluster_kubernetes_version: "1.27"

vpc_component_name: "vpc"
eks_component_name: "eks/cluster"

# Your choice of availability zones or availability zone ids
# availability_zones: ["us-east-1a", "us-east-1b", "us-east-1c"]
availability_zone_ids: ["use1-az4", "use1-az5", "use1-az6"]
aws_ssm_agent_enabled: true
allow_ingress_from_vpc_accounts:
- tenant: core
Expand Down Expand Up @@ -103,7 +101,7 @@ components:

# List of `aws-teams-roles` (in the account where the EKS cluster is deployed) to map to Kubernetes RBAC groups
aws_team_roles_rbac:
- aws_team: admin
- aws_team_role: admin
groups:
- system:masters
- aws_team_role: poweruser
Expand All @@ -125,10 +123,10 @@ components:
# Permission sets from AWS SSO allowing cluster access
# See `aws-sso` component.
aws_sso_permission_sets_rbac:
- aws_sso_permission_set: PowerUserAccess
groups:
- idp:poweruser
- system:authenticated
- aws_sso_permission_set: PowerUserAccess
groups:
- idp:poweruser
- system:authenticated

# Fargate Profiles
fargate_profiles:
Expand All @@ -141,13 +139,13 @@ components:
# https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
addons:
vpc-cni:
addon_version: "v1.12.2-eksbuild.1"
addon_version: v1.13.4-eksbuild.1
kube-proxy:
addon_version: "v1.25.6-eksbuild.1"
addon_version: v1.27.1-eksbuild.1
coredns:
addon_version: "v1.9.3-eksbuild.2"
addon_version: v1.10.1-eksbuild.2
aws-ebs-csi-driver:
addon_version: "v1.19.0-eksbuild.2"
addon_version: v1.19.0-eksbuild.2
```

### Usage with Node Groups
Expand Down

0 comments on commit 7971371

Please sign in to comment.