Skip to content

Commit

Permalink
revert change to ng role service
Browse files Browse the repository at this point in the history
  • Loading branch information
alam0rt committed Sep 4, 2024
1 parent 99d2915 commit 0ed0290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloud/services/eks/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (s *NodegroupService) reconcileNodegroupIAMRole() error {
s.scope.Info("no EKS nodegroup role specified, using role based on nodegroup name")
roleName, err = eks.GenerateEKSName(
"nodegroup-iam-service-role",
fmt.Sprintf("%s-%s", s.scope.ClusterName(), s.scope.NodegroupName()),
fmt.Sprintf("%s-%s", s.scope.KubernetesClusterName(), s.scope.NodegroupName()),
maxIAMRoleNameLength,
)
if err != nil {
Expand Down

0 comments on commit 0ed0290

Please sign in to comment.