diff --git a/pkg/controller/util.go b/pkg/controller/util.go index 3639b4123..41a324b19 100644 --- a/pkg/controller/util.go +++ b/pkg/controller/util.go @@ -229,7 +229,9 @@ func (c *Controller) getInfrastructureRoles( continue } - roles = append(roles, infraRoles...) + for _, r := range infraRoles { + roles = append(roles, r) + } } for _, r := range roles {