Skip to content

feat: add downloadBaseURL, checksum, and downloadAuthToken inputs (closes Azure#206)#268

Open
benjaminbob21 wants to merge 1 commit into
Azure:mainfrom
benjaminbob21:feat/custom-mirror
Open

feat: add downloadBaseURL, checksum, and downloadAuthToken inputs (closes Azure#206)#268
benjaminbob21 wants to merge 1 commit into
Azure:mainfrom
benjaminbob21:feat/custom-mirror

Conversation

@benjaminbob21

@benjaminbob21 benjaminbob21 commented Jun 1, 2026

Copy link
Copy Markdown

Add downloadBaseURL, checksum, and downloadAuthToken inputs (closes #206)

Supports private kubectl mirrors (air-gapped / enterprise) with optional SHA256 verification and optional bearer-token auth for private artifact repositories. Default base URL is unchanged.

Security: https-only, blocks loopback/link-local/RFC1918 hosts, re-validates each redirect hop, strips the Authorization header on cross-origin redirects, masks the token via core.setSecret, and validates version format before any URL/path use.

@benjaminbob21 benjaminbob21 marked this pull request as ready for review June 1, 2026 18:41
@benjaminbob21 benjaminbob21 requested a review from a team as a code owner June 1, 2026 18:41
@benjaminbob21 benjaminbob21 changed the title feat: add downloadBaseURL and checksum inputs (closes Azure#206) feat: add downloadBaseURL, checksum, and downloadAuthToken inputs (closes Azure#206) Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add downloadBaseURL input

1 participant