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

Download kubeconfig for ServiceAccount returns error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.13
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when downloading a `kubeconfig` file for a ServiceAccount, an error is displayed and the ServiceAccount token is unable to be reached. This error is due to the removal of autogenerated secrets. With this update, the download `kubeconfig` action has been removed and the error no longer occurs. (link:https://issues.redhat.com/browse/OCPBUGS-7308[*OCPBUGS-7308*])
      Show
      * Previously, when downloading a `kubeconfig` file for a ServiceAccount, an error is displayed and the ServiceAccount token is unable to be reached. This error is due to the removal of autogenerated secrets. With this update, the download `kubeconfig` action has been removed and the error no longer occurs. (link: https://issues.redhat.com/browse/OCPBUGS-7308 [* OCPBUGS-7308 *])
    • Bug Fix
    • Done

      Description of problem:

      when tries `Download kubeconfig file` for a ServiceAccount, it shows `Error: Unable to get ServiceAccount token`.

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

      4.13.0-0.nightly-2023-02-07-064924

      How reproducible:

      Always

      Steps to Reproduce:

      1. normal user logins to ocp console
      2. create a new project in which we will have 'builder' 'deployer' and 'default' serviceaccount created by default
      3. click on kebab action `Download kubeconfig file` any serviceaccount 
      4. goes to serviceaccount details page, click on 'Actions -> Download kubeconfig file'

      Actual results:

      we can see `Error: Unable to get ServiceAccount token` for both step 3 and step 4

      Expected results:

      user should be able to download serviceaccount kubeconfig file successfully

      Additional info:

       

       

            rhn-engineering-rhamilto Robb Hamilton
            rhn-support-yapei YaDan Pei
            Xiyun Zhao Xiyun Zhao
            Olivia Payne Olivia Payne
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: