Repository navigation
[GHA] Allow *.pkg.dev in installer harden-runner policy - #4408
imnasnainaec wants to merge 1 commit into
Conversation
📝 Walkthrough
Merge Risk: 🔵 Low · up to
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4408 +/- ##
=======================================
Coverage 76.26% 76.26%
=======================================
Files 305 305
Lines 11452 11452
Branches 1409 1409
=======================================
Hits 8734 8734
Misses 2324 2324
Partials 394 394
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
harden-runner v2.22.2 only supports wildcards of the form *.domain, so *-docker.pkg.dev is treated as a literal hostname and the redirect from registry.k8s.io to <region>-docker.pkg.dev is blocked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3d3770c to
5bdd5a6
Compare
Summary
harden-runner v2.22.2 (bumped in #4407) only accepts wildcards of the form
*.domain. It treats*-docker.pkg.devas a literal hostname, so it blocks the redirect fromregistry.k8s.ioto<region>-docker.pkg.dev.This applies to both
installer.ymlandinstaller_release.yml.Evidence
make_installeron #4407 fails ondocker pull registry.k8s.io/ingress-nginx/controller:v1.15.1@sha256:...:*-docker.pkg.dev.underexactDomains. Only*.-prefixed entries (such as*.cloudfront.net.) show up underwildcardDomains.After:
make_installerpasses on Bump the gha-deps group across 1 directory with 20 updates #4407 once it is rebased onto this PR.Merge Danger
Door: two-way
Blast Radius: CI-only
The installer jobs can now reach any
*.pkg.devhost (all Artifact Registry formats), not just Docker registries. The narrower option is to list every regional<region>-docker.pkg.devhost, but registry.k8s.io chooses the region on its side, so that list could go stale.🤖 Generated with Claude Code
This change is
Summary by CodeRabbit