kubernetes-sigs/kubectl-validate

GitHub downloader subject to rate limits

Open

#17 opened on 2023年5月4日

GitHub で見る
 (2 comments) (0 reactions) (1 assignee)Go (56 forks)auto 404
good first issue

Repository metrics

Stars
 (268 stars)
PR merge metrics
 (PR metrics pending)

説明

For unsupported schemas we have the option of downloading them from GitHub. This requires 1 or 2 api calls to list Kubernetes source directories. GitHub responses support E-Tags in their responses so can be cached without affecting the rate limit. We should add an on-disk cache similar to kubectl that stores the etags.

Another improvement would be to use the GitHub api key if supplied in envar or argument. That way the test suite would not ever be subject to rate limiting.

コントリビューターガイド