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

[enterprise-4.16] Issue in file authentication/using-service-accounts-in-applications.adoc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.16
    • Documentation
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Starting in 4.16 creating ServiceAccounts no longer associates a token, doc examples show a token associated to the SA and that should be updated to <none>
          

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

      4.16
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. Install OCP 4.16
          2. create a namespace: "oc new-project <my-project>"
          3. create a service account : "oc create sa <my-sa>"
          

      Actual results:

      The current doc shows that when describing a SA it shows a token:
          
      Name:                robot
      Namespace:           project1
      Labels:	             <none>
      Annotations:	     <none>
      Image pull secrets:  robot-dockercfg-qzbhb
      Mountable secrets:   robot-dockercfg-qzbhb
      Tokens:              robot-token-f4khf
      Events:              <none>
      

      Expected results:

      No tokens should be associated by default after creating a SA
          
      Name:                robot
      Namespace:           project1
      Labels:	             <none>
      Annotations:	     <none>
      Image pull secrets:  robot-dockercfg-qzbhb
      Mountable secrets:   robot-dockercfg-qzbhb
      Tokens:              <none>
      Events:              <none>
      

      Additional info:

      Multiple pages show the same:
      - https://docs.openshift.com/container-platform/4.16/authentication/using-service-accounts-in-applications.html#service-accounts-managing_using-service-accounts - Procedure Step 3
      - https://docs.openshift.com/container-platform/4.16/authentication/understanding-and-creating-service-accounts.html#service-accounts-managing_understanding-service-accounts - Procedure Step 3
      - https://docs.openshift.com/container-platform/4.16/networking/ingress-operator.html#nw-autoscaling-ingress-controller_configuring-ingress - Procedure Step 1
          

            ocp-docs-bot OCP DocsBot
            rhn-gps-manrodri Manuel Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: