79580413

Date: 2025-04-18 04:12:02
Score: 0.5
Natty:
Report link

I found the cause of issue and fix as well.
The problem was while I was running kubectl command, the kubeconfig was trying to generate the access token on the fly for which ssm was not having required access.
As soon as I hardcoded the token value in script, it started working from system manager run command as well.
Now the only problem I had is token expires every 15 min, which I can update every time I run the script, within the script itself.
Hope this helps!!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: vinit kumar