mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-31 23:59:53 +00:00
* Backport PR 6131 Signed-off-by: Derek Nola <derek.nola@suse.com> * Add cluster reset test to nightly builds * Add journalctl logs to E2E tests * Expand nightly E2E tests (#6354) * Add snapshot restore e2e test (#6396) * Convert test output to JSON format (#6410) * Fix E2E test for prefer-bundled-bin * Fix external ip test Signed-off-by: Shylaja Devadiga <shylaja@rancher.com> Signed-off-by: Derek Nola <derek.nola@suse.com>
11 lines
300 B
Bash
11 lines
300 B
Bash
#!/bin/bash
|
|
|
|
# Script to to point k3s to the docker registry running on the host
|
|
# This is used to avoid hitting dockerhub rate limits on E2E runners
|
|
ip_addr=$1
|
|
|
|
mkdir -p /etc/rancher/k3s/
|
|
echo "mirrors:
|
|
docker.io:
|
|
endpoint:
|
|
- \"http://$ip_addr:5000\"" >> /etc/rancher/k3s/registries.yaml |