confidential-containers / guest-components

Confidential Containers Guest Tools and Components
Apache License 2.0
81 stars 89 forks source link

attestation-agent: Extend ResourceUri to support query string #634

Closed cclaudio closed 2 months ago

cclaudio commented 2 months ago

With this change, the kbs-client is able to send a get-resource request that includes the query string provided e.g.:

kbs-client --url http://127.0.0.1:8080 \ get-resource \ --path 'plugin/nebula/credential?ip[ip]=10.11.12.13&ip[netbits]=21&name=pod1'

This is required by the KBS repository plugin interface.

cclaudio commented 2 months ago

I will update this PR shortly with a edge case I forgot and also the test case clean-up

cclaudio commented 2 months ago

Done.