mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Enabling deployments on GCE when the corresponding env var is set to true
This commit is contained in:
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
Block a user