Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-33366

Investigate and drop HostNetwork and HostPID for machine-config-daemon pod

XMLWordPrintable

    • No
    • MCO Sprint 266
    • 1
    • False
    • Hide

      None

      Show
      None

      Recently during a security audit, it was reported that why machine-config-daemon pod need to have HostNetwork and HostPID set to true.

      This was done as part of PR https://github.com/openshift/machine-config-operator/pull/60/commits/fac6c5e950afe2709b99c22960bae3ed3902ad35 where in the past by rpm-ostree to perform OS update. With 4.12 we have evolved to directly run rpm-ostree rebase from container image. Also, extension container gets pulled locally on node in order to install extensions/RT kernel package.

      As per slack conversation https://redhat-internal.slack.com/archives/C02CZNQHGN8/p1715075004233899, we should be able to remove them.

      This bug is to investigate and if nothing else need these two privilege in in the MCD pod, then remove them.

              rh-ee-ijanssen Isabella Janssen
              rhn-engineering-skumari Sinny Kumari
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: