adding spoke cluster

Signed-off-by: joaogac <joaogac@amazon.com>
This commit is contained in:
2026-04-22 07:21:27 -03:00
parent 7d11fd5889
commit 784664313f
5 changed files with 22 additions and 14 deletions
+7
View File
@@ -0,0 +1,7 @@
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes
@@ -1,2 +1,2 @@
clusters:
workload-cluster1: "012345678910" # AWS account for workload cluster 1
workload-cluster1: "577638363061" # AWS account for workload cluster 1
@@ -1,14 +1,15 @@
clusters:
# workload-cluster1:
# managementAccountId: "XXXXXX"
# accountId: "XXXXXX"
# tenant: "tenant1"
# k8sVersion: "1.34"
# vpc:
# create: true
# gitops:
# addonsRepoUrl: "https://github.com/XXXXXX/eks-cluster-mgmt"
# fleetRepoUrl: "https://github.com/XXXXXX/eks-cluster-mgmt"
workload-cluster1:
managementAccountId: "267414915391" # hub account
accountId: "577638363061" # spoke account
tenant: "tenant1"
k8sVersion: "1.34"
workloads: "true"
vpc:
create: true
gitops:
addonsRepoUrl: "https://gi-8d30f0386d234e1a96d90d6234794869.ecs.us-east-1.on.aws/gitadmin/gitops-ack-kro-argocd"
fleetRepoUrl: "https://gi-8d30f0386d234e1a96d90d6234794869.ecs.us-east-1.on.aws/gitadmin/gitops-ack-kro-argocd"
# workload-cluster2:
# managementAccountId: "XXXXXX"
+1 -1
View File
@@ -20,7 +20,7 @@ create_ack_workload_roles() {
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::${MGMT_ACCOUNT_ID}:role/${CLUSTER_NAME}-ack-controller"
"AWS": "arn:aws:iam::267414915391:role/eksctl-gitops-hub-cluster-capability-role-7H3-Role1-d4xdaCSdiaj8"
},
"Action": [
"sts:AssumeRole",
+2 -2
View File
@@ -3,7 +3,7 @@ kubernetes_version = "1.34"
cluster_name = "hub-cluster"
tenant = "tenant1"
git_org_name = "XXXXXXXX" # update this if you want to customize the gitops configurations
git_org_name = "gitadmin" # update this if you want to customize the gitops configurations
gitops_addons_repo_name = "eks-cluster-mgmt"
gitops_addons_repo_base_path = "addons/"
@@ -16,4 +16,4 @@ gitops_fleet_repo_path = "bootstrap"
gitops_fleet_repo_revision = "main"
# AWS Accounts used for demo purposes (cluster1 cluster2)
account_ids = "012345678910 123456789101" # update this with your spoke aws accounts ids
account_ids = "577638363061" # update this with your spoke aws accounts ids