mirror of https://github.com/k3s-io/k3s
Revert "allow configuring of the docker storage driver on gce"
This reverts commit 79f98a41f9
.
pull/6/head
parent
962e1e2f6d
commit
dc616dc29b
|
@ -273,11 +273,6 @@ if [[ -n "${DISABLE_DOCKER_LIVE_RESTORE:-}" ]]; then
|
|||
PROVIDER_VARS="${PROVIDER_VARS:-} DISABLE_DOCKER_LIVE_RESTORE"
|
||||
fi
|
||||
|
||||
# Override default docker storage driver.
|
||||
if [[ -n "${DOCKER_STORAGE_DRIVER:-}" ]]; then
|
||||
PROVIDER_VARS="${PROVIDER_VARS:-} DOCKER_STORAGE_DRIVER"
|
||||
fi
|
||||
|
||||
# Override default GLBC image
|
||||
if [[ -n "${GCE_GLBC_IMAGE:-}" ]]; then
|
||||
PROVIDER_VARS="${PROVIDER_VARS:-} GCE_GLBC_IMAGE"
|
||||
|
|
|
@ -310,11 +310,6 @@ if [[ -n "${DISABLE_DOCKER_LIVE_RESTORE:-}" ]]; then
|
|||
PROVIDER_VARS="${PROVIDER_VARS:-} DISABLE_DOCKER_LIVE_RESTORE"
|
||||
fi
|
||||
|
||||
# Override default docker storage driver.
|
||||
if [[ -n "${DOCKER_STORAGE_DRIVER:-}" ]]; then
|
||||
PROVIDER_VARS="${PROVIDER_VARS:-} DOCKER_STORAGE_DRIVER"
|
||||
fi
|
||||
|
||||
# Override default GLBC image
|
||||
if [[ -n "${GCE_GLBC_IMAGE:-}" ]]; then
|
||||
PROVIDER_VARS="${PROVIDER_VARS:-} GCE_GLBC_IMAGE"
|
||||
|
|
|
@ -852,12 +852,6 @@ function assemble-docker-flags {
|
|||
docker_opts+=" --live-restore=false"
|
||||
fi
|
||||
|
||||
# Override docker storage driver if the environment variable is set
|
||||
|
||||
if [[ -n "${DOCKER_STORAGE_DRIVER:-}" ]]; then
|
||||
docker_opts+=" --storage-driver=${DOCKER_STORAGE_DRIVER}"
|
||||
fi
|
||||
|
||||
echo "DOCKER_OPTS=\"${docker_opts} ${EXTRA_DOCKER_OPTS:-}\"" > /etc/default/docker
|
||||
|
||||
if [[ "${use_net_plugin}" == "true" ]]; then
|
||||
|
|
Loading…
Reference in New Issue