Skip to content

Commit

Permalink
Add v2 k8s endpoints to accept.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sblausten authored Oct 22, 2024
2 parents dd35b53 + 3f390be commit 5b4c2f8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions dockerfiles/kubernetes/accept.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@
"token": "${K8S_SERVICE_ACCOUNT_TOKEN}"
}
},
{
"method": "GET",
"path": "/apis/autoscaling/v2/horizontalpodautoscalers*",
"origin": "${CLUSTER_ENDPOINT}",
"auth": {
"scheme": "bearer",
"token": "${K8S_SERVICE_ACCOUNT_TOKEN}"
}
},
{
"method": "GET",
"path": "/apis/autoscaling/v1/namespaces*",
Expand All @@ -115,6 +124,15 @@
"token": "${K8S_SERVICE_ACCOUNT_TOKEN}"
}
},
{
"method": "GET",
"path": "/apis/autoscaling/v2/namespaces*",
"origin": "${CLUSTER_ENDPOINT}",
"auth": {
"scheme": "bearer",
"token": "${K8S_SERVICE_ACCOUNT_TOKEN}"
}
},
{
"method": "GET",
"path": "/apis/metrics.k8s.io/v1beta1/namespaces/*",
Expand Down

0 comments on commit 5b4c2f8

Please sign in to comment.