Skip to content

Commit

Permalink
Merge pull request #18 from ministryofjustice/ANPL-1062-fix-sa
Browse files Browse the repository at this point in the history
fix: cluster autoscaler runs in the kube-system namespace
  • Loading branch information
bogdan-mania-moj authored Oct 18, 2022
2 parents bcd659f + 24ec49e commit fcfabf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam_cluster_autoscaler.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module "iam_assumable_role_cluster_autoscaler" {
role_description = "EKS cluster-autoscaler role for cluster ${module.eks.cluster_id}"
role_policy_arns = [aws_iam_policy.cluster_autoscaler.arn]
provider_url = module.eks.cluster_oidc_issuer_url
cluster_service_accounts = ["cluster-autoscaler:cluster-autoscaler"]
cluster_service_accounts = ["kube-system:cluster-autoscaler"]
tags = {
cluster = var.cluster_name
}
Expand Down

0 comments on commit fcfabf5

Please sign in to comment.