Open bartoval opened 7 months ago
How many secrets do you have in the namespace in which you want the link to be created?
3
So you are creating multiple secrets, that is why you are getting multiple links. You are changing the name each time you are posting it would seem, otherwise you would not get the three different secrets.
You are right,
Thank you for the clarification. +1
Describe the bug
It appears that a token generated on one Site has the potential to be utilized indefinitely on a different site, resulting in the establishment of numerous Links
How To Reproduce I am using the Kube apis:
1) I request the generation of a token by sending from the site vb-test-1:
2) This is the generated token that I will use, excluding the namespace, creationTimestamp, and resourceVersion manually
3) Afterwards, I switched to the 'vb-test-2' site and submitted this token three times (POST.../api/kubernetes/api/v1/namespaces/vb-test-2/secrets).
and this is the result:
Expected behavior I think we need a check on duplicate links in case you are not using the CLI
Environment details