Skip to content

Commit

Permalink
ci: add dl.k8s.io to egress policy allowlist for toolchain (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
comtalyst authored Oct 19, 2024
1 parent 4ce57d9 commit eb5326e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ jobs:
with:
disable-telemetry: true
egress-policy: block
allowed-endpoints: >
allowed-endpoints: > # dl.k8s.io is for 1.25 CI only
*.dl.k8s.io:443
api.github.com:443
dl.k8s.io:443
coveralls.io:443
github.com:443
objects.githubusercontent.com:443
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
with:
disable-telemetry: true
egress-policy: block
allowed-endpoints: >
allowed-endpoints: > # dl.k8s.io is for 1.25 CI only
*.dl.k8s.io:443
api.github.com:443
dl.k8s.io:443
github.com:443
objects.githubusercontent.com:443
proxy.golang.org:443
Expand Down
2 changes: 1 addition & 1 deletion hack/toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ kubebuilder() {
if [[ "${K8S_VERSION}" = "1.25.x" ]] && [[ "$OSTYPE" == "linux"* ]]; then
for binary in 'kube-apiserver' 'kubectl'; do
rm $KUBEBUILDER_ASSETS/$binary
wget -P $KUBEBUILDER_ASSETS dl.k8s.io/v1.25.16/bin/linux/"${arch}"/${binary}
wget -P $KUBEBUILDER_ASSETS https://dl.k8s.io/v1.25.16/bin/linux/"${arch}"/${binary}
chmod +x $KUBEBUILDER_ASSETS/$binary
done
fi
Expand Down

0 comments on commit eb5326e

Please sign in to comment.