1) Get the base64 value for new password: https://www.base64encode.org/
e.g.
Plain: 1NewPassWord123_
Encoded: MU5ld1Bhc3NXb3JkMTIzXw==
2) Update the rsso-admin-tas secret with the new password
kubectl edit secret rsso-admin-tas -n itomws
Original: Password: UlNTTyNBZG1pbiM=
New: Password: MU5ld1Bhc3NXb3JkMTIzXw==
3) Restart the TAS pod
kubectl get pod -n itomws | grep -i tas
tas-689b75dfd-f7dgm 0/1 Running 4 6m41s
kubectl delete pod tas-689b75dfd-f7dgm -n itomws
pod "tas-689b75dfd-t557l" deleted
4) Check the health of the new TAS pod
kubectl get pods | grep -i tas
tas-689b75dfd-rjq5m 1/1 Running 0 2m43s
[root@vl-aus-domsp /]# kubectl logs tas-689b75dfd-rjq5m
2023-05-15 19:56:18,589 - tms_automation - DEBUG - [MainThread] - Email template register updated
2023-05-15 19:56:19,448 - tms_automation - DEBUG - [MainThread] - Email template inviteUser updated
2023-05-15 19:56:20,454 - tms_automation - DEBUG - [MainThread] - Email template forgot_password updated
2023-05-15 19:56:20,454 - tms_automation - INFO - [MainThread] - Reloading OAUTH_CLIENTS_CACHE
2023-05-15 19:56:20,903 - tms_automation - INFO - [MainThread] - Client : tmsclient is not multi-tenant or enabled. Hence not adding to cache.
2023-05-15 19:56:20,903 - tms_automation - INFO - [MainThread] - Reloaded OAUTH_CLIENTS_CACHE {'ade-smartgraph': '1bb68555-e0b1-43fc-a198-fff983935a82', 'ade-logsportal': '213fc936-d4a7-42c9-9377-e8646b552587', 'ade-reporting': '2abbb2e2-f6e3-43b4-942e-703dfb45676f', 'ade-iaportal': '4476ef17-043f-4557-82d4-997186b15002', 'ade-integrations': '4cfb8a50-73e2-45e4-9287-fe5d569b425f', 'imsportalclient': 'c5f6f004-49dc-4f25-b1dc-6ad769caef57', 'monitor': 'ddd6892b-67ac-4fd9-adaf-117f68c46627', 'ade-aiops': 'f849d930-b74e-42ca-849d-6c1127a3e353'}
2023-05-15 19:56:21,827 - tms_automation - INFO - [MainThread] - Fetched client details for :imsportalclient: successfully
2023-05-15 19:56:22,731 - tms_automation - INFO - [MainThread] - Fetched realms for saas tenant. Total no. of realms : 3
2023-05-15 19:56:22,731 - tms_automation - INFO - [MainThread] - Total no. of update uris : 2
2023-05-15 19:56:22,731 - tms_automation - INFO - [MainThread] - Final Redirection Uris list : {'redirectUris': [{'tid': '00000000-0000-0000-0000-000000000000', 'uri': 'http://127.1.0.1:9000/_rsso/oauth/callback'}, {'tid': '08561e6f-fa2d-48d3-992e-7d4f532bc367', 'uri': 'https://itomws-private-poc.dsmlab.bmc.com/imsportal/oauth/callback'}]}
2023-05-15 19:56:23,713 - tms_automation - INFO - [MainThread] - Updated all the redirection urls for client-id: c5f6f004-49dc-4f25-b1dc-6ad769caef57, client_name: imsportalclient
2023-05-15 19:56:23,713 - tms_automation - INFO - [MainThread] - SAAS MIGRATION: for client imsportalclient is completed
2023-05-15 19:56:23,714 - tms_automation - INFO - [MainThread] - Starting Tenant Listener on Kafka server:['kafka:9092'] topic:tms.comnsvcs.outbound