Fix ASN DB URL to the remote-proxy scheme #8
Reference in New Issue
Block a user
Delete Branch "benvin/fix-asn-db-url"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The ASN DB expander's default URL used the v2
/api/v2/remotes/<name>/files/path — that's the local-repo PUT scheme. Remote proxies are served at/api/v1/remote/<name>/<path>. Verified: an existing github-remote asset returns 200 via the v1 path; the v2 path 404s.Changes
https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/github/iplocate/ip-address-databases/raw/main/ip-to-asn/ip-to-asn.csv.zip.Note
Until terraform-artifactapi #9's pattern is applied, this path returns 403 (not yet allowlisted); it 200s once the apply runs.