How to specify the serviceAccount for virt-launcher pods?

Solution Verified - Updated -

Issue

  • The virt launcher pod are using default service account, however the OpenShift CIS compliance rule recommend using a unique service account instead of default.
  • How can we set a unique service account for virt-launcher pod?

Environment

  • Red Hat OpenShift Virtualization 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content