Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-26404

[2175135] Unable to set virtLauncher pod as root via HCO CR

XMLWordPrintable

    • CNV Virtualization Sprint 238
    • High

      Description of problem: When setting "nonRoot:false" in HCO CR, it has no effect on virt-launcher pod, pod still run as nonRoot

      in 4.13 NonRoot FG is still there but deprecated, so it's still supposed to work

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:
      1. set "nonRoot:false" in HCO CR
      2. create a vm and start(VM is running)
      3. check virt-launcher pod

      Actual results:
      [akriti@fedora cnv-tests]$ oc get pod virt-launcher-rhel8-ktjjjgjrodifxwui-x6t7b -o yaml | grep -B 2 runAsUser
      runAsNonRoot: true
      runAsUser: 107

      Expected results:
      runAsNonRoot: false
      runAsUser: 0

      Additional info:

            lpivarc Luboslav Pivarc
            akrgupta@redhat.com Akriti gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: