skupper icon indicating copy to clipboard operation
skupper copied to clipboard

[v2] no way to configure cost of link if using token issue/redeem CLI

Open lynnemorrison opened this issue 1 year ago • 0 comments

Using the token issue/redeem method I don't see any way to specify link cost. I don't see cost in CRDs access_grant or access_token

skupper site create west --enable-link-access -n west skupper site create east -n east

skupper listener create backend 8080 -n west --selector app=backend skupper connector create backend 8080 -n east --selector app=backend

skupper token issue ~/token1.yaml -n west skupper token redeem ~/token1.yaml -n east

skupper link status -n east NAME                                STATUS      COST west-33b93f9e-5787-41e7-a47a-e947ed4e9270 OK    0

I think we need to add cost to the AccessToken CRD and then ensure that is applied to the link received in exchange before it is written to the API.

lynnemorrison avatar Sep 24 '24 12:09 lynnemorrison