Kiali does not return a secert for token generation (dsR10)

Change-Id: I6328c92feb3753f78d60a7a97fe4abdc1862f6b9
Signed-off-by: Suzana Fernandes <Suzana.Fernandes@windriver.com>
(cherry picked from commit 1db98ce3fc)
This commit is contained in:
Suzana Fernandes
2025-01-09 18:12:17 +00:00
committed by Suzana Barude Fernandes
parent eb52adae9c
commit 693f523862

View File

@@ -141,9 +141,12 @@ management console in a browser.
#. Get the login token.
Request a short lived token for a service account by issuing the following
command:
.. code-block:: none
~(keystone_admin)]$ kubectl get secret -n istio-system $(kubectl get sa kiali -n istio-system -o jsonpath='{.secrets[0].name}') -o jsonpath='{.data.token}' | base64 -d
~(keystone_admin)]$ kubectl -n istio-system create token kiali
#. Login to Kiali.