@@ -0,0 +1,7 @@
|
|||||||
|
# macOS
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
._*
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
clusters:
|
clusters:
|
||||||
workload-cluster1: "012345678910" # AWS account for workload cluster 1
|
workload-cluster1: "577638363061" # AWS account for workload cluster 1
|
||||||
|
|||||||
@@ -1,14 +1,15 @@
|
|||||||
clusters:
|
clusters:
|
||||||
# workload-cluster1:
|
workload-cluster1:
|
||||||
# managementAccountId: "XXXXXX"
|
managementAccountId: "267414915391" # hub account
|
||||||
# accountId: "XXXXXX"
|
accountId: "577638363061" # spoke account
|
||||||
# tenant: "tenant1"
|
tenant: "tenant1"
|
||||||
# k8sVersion: "1.34"
|
k8sVersion: "1.34"
|
||||||
# vpc:
|
workloads: "true"
|
||||||
# create: true
|
vpc:
|
||||||
# gitops:
|
create: true
|
||||||
# addonsRepoUrl: "https://github.com/XXXXXX/eks-cluster-mgmt"
|
gitops:
|
||||||
# fleetRepoUrl: "https://github.com/XXXXXX/eks-cluster-mgmt"
|
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:
|
# workload-cluster2:
|
||||||
# managementAccountId: "XXXXXX"
|
# managementAccountId: "XXXXXX"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ create_ack_workload_roles() {
|
|||||||
{
|
{
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Principal": {
|
"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": [
|
"Action": [
|
||||||
"sts:AssumeRole",
|
"sts:AssumeRole",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ kubernetes_version = "1.34"
|
|||||||
cluster_name = "hub-cluster"
|
cluster_name = "hub-cluster"
|
||||||
tenant = "tenant1"
|
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_name = "eks-cluster-mgmt"
|
||||||
gitops_addons_repo_base_path = "addons/"
|
gitops_addons_repo_base_path = "addons/"
|
||||||
@@ -16,4 +16,4 @@ gitops_fleet_repo_path = "bootstrap"
|
|||||||
gitops_fleet_repo_revision = "main"
|
gitops_fleet_repo_revision = "main"
|
||||||
|
|
||||||
# AWS Accounts used for demo purposes (cluster1 cluster2)
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user