XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo

      Description of problem:

      `oc sa get-token` command has been deprecated and one should use `oc create token` command instead.
      
      However the documentation[1] for MTC is not updated with the same.
      - [1] https://docs.openshift.com/container-platform/4.16/migration_toolkit_for_containers/advanced-migration-options-mtc.html#:~:text=oc%20sa%20get%2Dtoken%20migration%2Dcontroller%20%2Dn%20openshift%2Dmigration%20%7C%20base64%20%2Dw%200
      
      
      Following message is appearing when executed the command suggested in documentation:
      ~~~
      $ oc sa get-token migration-controller -n openshift-migration 
      
      Command "get-token" is deprecated, and will be removed in the future version. Use oc create token instead.
      ~~~
      

       

       

       

       

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              ocp-docs-bot OCP DocsBot
              rhn-support-harspati Harshada Patil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: