Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 2.11 KB

extend-agnhost-image.md

File metadata and controls

30 lines (25 loc) · 2.11 KB

The following query from SnoopDB confirms the untested PodProxy endpoints for the apiserver.

select endpoint,
       path,
       description
  from testing.untested_stable_endpoint
 where category = 'core'
   and eligible is true
   and endpoint like '%Pod%Proxy'
 limit 10;
                endpoint                |                       path                       |               description
----------------------------------------|--------------------------------------------------|------------------------------------------
 connectCoreV1PutNamespacedPodProxy     | /api/v1/namespaces/{namespace}/pods/{name}/proxy | connect PUT requests to proxy of Pod
 connectCoreV1PostNamespacedPodProxy    | /api/v1/namespaces/{namespace}/pods/{name}/proxy | connect POST requests to proxy of Pod
 connectCoreV1PatchNamespacedPodProxy   | /api/v1/namespaces/{namespace}/pods/{name}/proxy | connect PATCH requests to proxy of Pod
 connectCoreV1OptionsNamespacedPodProxy | /api/v1/namespaces/{namespace}/pods/{name}/proxy | connect OPTIONS requests to proxy of Pod
 connectCoreV1HeadNamespacedPodProxy    | /api/v1/namespaces/{namespace}/pods/{name}/proxy | connect HEAD requests to proxy of Pod
 connectCoreV1GetNamespacedPodProxy     | /api/v1/namespaces/{namespace}/pods/{name}/proxy | connect GET requests to proxy of Pod
 connectCoreV1DeleteNamespacedPodProxy  | /api/v1/namespaces/{namespace}/pods/{name}/proxy | connect DELETE requests to proxy of Pod
(7 rows)

When the blanket redirect of all proxy apiserver endpoints is removed, five endpoints for pod (all but GET and HEAD) will then connect to the specified pod.

Before a conformance test can be created for those five endpoints there needs to be a pod that can support all of the above http verbs. The intention is to update the test image Agnhost with this functionality.