terraform-aws-eks-blueprints
terraform-aws-eks-blueprints copied to clipboard
[QUESTION] Add multiple envs to workload
Please describe your question here
We are running ArgoCD in Shared-EKS cluster to manage multiple environments. How to achieve deploy add-ons and workloads to multiple envs from centralized ArgoCD by Terraform
Provide link to the example related to the question
How to achieve with the current example below?
mgmt Cluster
enable_argocd = true
argocd_manage_add_ons = false # Indicates that ArgoCD is responsible for managing/deploying Add-ons.
argocd_admin_password_secret_name = "ArgoCDAdmin"
argocd_applications = {
addons = {
path = "chart"
repo_url = "https://github.com/xxx/eks-blueprints-add-ons.git"
add_on_application = false
}
workload = {
shr_cluster = {
path = "envs/shr"
repo_url = "https://github.com/xxx/eks-blueprints-workloads.git"
add_on_application = false
values = {}
}
dev_cluster = {
path = "envs/dev"
repo_url = "https://github.com/xxx/eks-blueprints-workloads.git"
add_on_application = false
values = {}
}
stg_cluster = {
path = "envs/stg"
repo_url = "https://github.com/xxx/eks-blueprints-workloads.git"
add_on_application = false
values = {}
}
prd_cluster = {
path = "envs/prd"
repo_url = "https://github.com/xxx/eks-blueprints-workloads.git"
add_on_application = false
values = {}
}
}
}
Additional context
More
- [ ] Yes, I have checked the repo for existing issues before raising this question
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
Hi @ZeroDeth, it should be possible to do this...
argocd_applications = {
addons = {
path = "chart"
repo_url = "https://github.com/xxx/eks-blueprints-add-ons.git"
add_on_application = false
}
shr_cluster = {
path = "envs/shr"
repo_url = "https://github.com/xxx/eks-blueprints-workloads.git"
add_on_application = false
values = {}
}
dev_cluster = {
path = "envs/dev"
repo_url = "https://github.com/xxx/eks-blueprints-workloads.git"
add_on_application = false
values = {}
}
stg_cluster = {
path = "envs/stg"
repo_url = "https://github.com/xxx/eks-blueprints-workloads.git"
add_on_application = false
values = {}
}
prd_cluster = {
path = "envs/prd"
repo_url = "https://github.com/xxx/eks-blueprints-workloads.git"
add_on_application = false
values = {}
}
}
Sorry, busy trying to find a proper way to upgrade the cluster from 1.21 to 1.22 without issues
I will test the workflow tomorrow.
Thanks
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
Tested and working well. Thanks, @askulkarni2