Skip to content

Commit

Permalink
fix: rbac
Browse files Browse the repository at this point in the history
  • Loading branch information
Telemaco019 committed Aug 29, 2024
1 parent 5b2a03f commit 12b1abc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
1 change: 1 addition & 0 deletions templates/helm-values-bootstrap.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ cluster-autoscaler:
clusterName: ${eks_cluster_name}
rbac:
serviceAccount:
name: cluster-autoscaler
annotations:
eks.amazonaws.com/role-arn: ${eks_iam_role_arn}
14 changes: 0 additions & 14 deletions tests/dev-provisioning/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,6 @@ module "main" {
eks_cloudwatch_observability_enabled = true
eks_cluster_endpoint_public_access = true
eks_kubernetes_version = "1.28"
eks_managed_node_groups = {
"workers" : {
instance_types = ["r5.xlarge"]
min_size = 1
max_size = 1
desired_size = 1
}
"gpu-a100" : {
instance_types = ["p4d.24xlarge"]
min_size = 0
max_size = 1
desired_size = 0
}
}
allowed_inbound_cidr_blocks = {
"all" : "0.0.0.0/0"
}
Expand Down
4 changes: 4 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ variable "eks_service_accounts" {
namespace : "nebuly"
name : "cluster-autoscaler"
},
{
namespace : "nebuly-bootstrap"
name : "cluster-autoscaler"
},
{
namespace : "nebuly"
name : "aws-load-balancer-controller"
Expand Down

0 comments on commit 12b1abc

Please sign in to comment.