Skip to content

Commit

Permalink
Fix! Delete Rolebind from toDelete objects (#3028) (#3029)
Browse files Browse the repository at this point in the history
  • Loading branch information
asincu authored Dec 4, 2023
1 parent e49fbb1 commit e58539e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/render/fluentd.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (c *fluentdComponent) Objects() ([]client.Object, []client.Object) {
if c.cfg.ManagedCluster {
objs = append(objs, c.externalLinseedRoleBinding())
} else {
toDelete = append(objs, c.externalLinseedRoleBinding())
toDelete = append(toDelete, c.externalLinseedRoleBinding())
}

// Windows PSP does not support allowedHostPaths yet.
Expand Down

0 comments on commit e58539e

Please sign in to comment.