The issue was:
- The "-t" flag from kubectl commands, which was forcing TTY allocation even in automated/scripted environments. This flag is unnecessary in such contexts and causes the error when no interactive terminal is available.
Closes-Bug: 2118938
Test Plan: Running STX control keys-add in a automated proccess(non-iterative) without errors
PASS: Running in an interactive environment works fine
PASS: Running in an automated environment now works
Change-Id: Iec8a15739f3d272c451ab6181d852df48ee2b387
Signed-off-by: Ladislau Felisbino <Ladislau.Felisbino@windriver.com>