v0.8.1
What's Changed
- Misc fixes by @brandond in #29
- Set default prefix value
There must be the same number of path prefixes as config keys. Unfortunately the default CLI args contain a single path prefix, but no subkey, which is invalid and results in startup failing withlevel=fatal msg="keys-prefix lengths are not equal [v1-release] [] 0.0.0.0:8080".
Fix that by adding a default subkey of an empty string - so just the root of the document. - Bump rancher/wrangler and rancher/apiserver
- Print subkey and prefix on startup
- Add support for Github token auth
- Bump GH client version
- Add support for GH token auth
- Print status messages while loading initial config
- Raise fatal error if initial config load fails, instead of silently serving with no release data. This resolves an issue where the server would come up but serve no data because the error from the initial load was silently
ignored. The most frequent cause of this was rate limiting due to lack of auth support:Failed to load config from [https://raw.githubusercontent.com/k3s-io/k3s/master/channel.yaml]: GET https://api.github.com/repos/k3s-io/k3s/releases: 403 API rate limit exceeded for CLIENT-IP. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
- Set default prefix value
New Contributors
Full Changelog: v0.7.0...v0.8.1
NOTE: This is the same as v0.8.0. CI currently requires that the GH release not already exist in order to push artifacts, so 0.8.0 was retagged as 0.8.1 in order to allow CI create the release.