mirror of https://github.com/k3s-io/k3s
Enabling deployments on GCE when the corresponding env var is set to true
parent
a0c038982e
commit
a558fca24b
|
@ -59,6 +59,14 @@ function verify-prereqs {
|
|||
fi
|
||||
fi
|
||||
fi
|
||||
if [[ "${ENABLE_DEPLOYMENTS}" == "true" ]]; then
|
||||
if [[ -z "${RUNTIME_CONFIG}" ]]; then
|
||||
RUNTIME_CONFIG="extensions/v1beta1/deployments=true"
|
||||
else
|
||||
RUNTIME_CONFIG="${RUNTIME_CONFIG},extensions/v1beta1/deployments=true"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
local cmd
|
||||
for cmd in gcloud gsutil; do
|
||||
|
|
Loading…
Reference in New Issue