mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
AWS: Wire-up ENABLE_DEPLOYMENT env var
The AWS equivalent of a558fca24b
This commit is contained in:
parent
d3862d453f
commit
ff44cd113a
@ -452,6 +452,13 @@ 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
|
||||
|
||||
if [[ "$(which aws)" == "" ]]; then
|
||||
echo "Can't find aws in PATH, please fix and retry."
|
||||
|
Loading…
Reference in New Issue
Block a user