Open hguerrero opened 3 years ago
Can you elaborate a little more on this? Is this for claim type tokens? What are you wanting to achieve?
Sure @grs, looks I'm mistaken on the behavior of the token. As I noticed it is not creating any resource in the namespace. Is it possible to retrieve/save the token into the namespace besides the filesystem?
The cli skupper link create
expects a file on the filesystem. However the link is actually established by the service controller when the secret is saved to the kube api in that namespace (thats what the cli will do, after checking and perhaps modifying the name). So if you have some other way to transfer the token, that should work.
When creating a token using the CLI, there is no easy way to know what is the secret created in the namespace backing up that token.
It can be either part of the yaml output or we should be able to use something like
--secret-name
to easily find in the secrets.Currently we have to open the encoded token, decode to get that information.