Setting SELinux label for file using machine-config-operator in Openshift 4

Solution Verified - Updated -

Issue

  • How to change the SELinux label using machine-config-operator (MCO) of newly added file via ignition-config?
  • Can machine-config-operator (MCO) change the SELinux labels of files on machines in Openshift 4 cluster?

Environment

  • Red Hat Openshift Container Platform
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In