This message was deleted.
# kubernetes
s
This message was deleted.
g
Does it work if you change the last line to this?
Copy code
token = sa_secret['data'].apply(lambda x: x['token'])
f
Running that I get a different error
Copy code
token = sa_secret['data'].apply(lambda x: x['token'])
    TypeError: 'Secret' object is not subscriptable