mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 22:53:22 +00:00
tests: Adds configurable docker conf for test
The image "gcr.io/authenticated-image-pulling/windows-nanoserver:v1" is not a manifest list, and it is only useful for Windows Server 1809, which means that the test "should be able to pull from private registry with secret" will fail for environments with Windows Server 1903, 1909, or any other future version we might want to test. This commit adds the the ability to have an alternative private image to pull by using a configurable docker config file which contains the necessary credentials needed to pull the image.
This commit is contained in:
@@ -169,6 +169,7 @@ export PATH
|
||||
--network="${KUBE_GCE_NETWORK:-${KUBE_GKE_NETWORK:-e2e}}" \
|
||||
--node-tag="${NODE_TAG:-}" \
|
||||
--master-tag="${MASTER_TAG:-}" \
|
||||
--docker-config-file="${DOCKER_CONFIG_FILE:-}" \
|
||||
--dns-domain="${KUBE_DNS_DOMAIN:-cluster.local}" \
|
||||
--ginkgo.slowSpecThreshold="${GINKGO_SLOW_SPEC_THRESHOLD:-300}" \
|
||||
${KUBE_CONTAINER_RUNTIME:+"--container-runtime=${KUBE_CONTAINER_RUNTIME}"} \
|
||||
|
Reference in New Issue
Block a user