Is that meant those type of serviceaccount with IAM role cannot be attached to DaemonSet?
No,there shouldn’t be any issues with that. I checked here and there is an example with service account in a deployment.
As @PPShein mentioned in comments the issue occurs because he forgot to add the
CLICK HERE to find out more related problems solutions.