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

Incorrect command provided for adding SCC to a serviceaccount while deploying KMM in custom namespace

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In below documentation
      https://docs.openshift.com/container-platform/4.18/hardware_enablement/kmm-kernel-module-management.html the command provided for adding SCC to a serviceaccount while deploying KMM in custom namespace is incorrect.

      $ oc adm policy add-scc-to-user privileged -z "${serviceAccountName}" [ -n "${namespace}" ]

      Above command is giving an error because of incorrect brackets, ideally it should be:

      Right Command:
      $ oc adm policy add-scc-to-user privileged -z serviceAccountName -n namespace
      We can add note below the right command: Replace the 'namespace' argument with the 'operator namespace'.

              rhn-support-kavverma Kavya Verma
              rhn-support-smiglani Srishti .
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: