mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +00:00
Adding cos as an alias for gci.
This commit is contained in:
parent
9dd96e3120
commit
52b6c9bb41
@ -46,6 +46,14 @@ if [[ "${NODE_OS_DISTRIBUTION}" == "coreos" ]]; then
|
|||||||
NODE_OS_DISTRIBUTION="container-linux"
|
NODE_OS_DISTRIBUTION="container-linux"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${MASTER_OS_DISTRIBUTION}" == "cos" ]]; then
|
||||||
|
MASTER_OS_DISTRIBUTION="gci"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${NODE_OS_DISTRIBUTION}" == "cos" ]]; then
|
||||||
|
NODE_OS_DISTRIBUTION="gci"
|
||||||
|
fi
|
||||||
|
|
||||||
# By default a cluster will be started with the master on GCI and nodes on
|
# By default a cluster will be started with the master on GCI and nodes on
|
||||||
# containervm. If you are updating the containervm version, update this
|
# containervm. If you are updating the containervm version, update this
|
||||||
# variable. Also please update corresponding image for node e2e at:
|
# variable. Also please update corresponding image for node e2e at:
|
||||||
|
@ -47,6 +47,14 @@ if [[ "${NODE_OS_DISTRIBUTION}" == "coreos" ]]; then
|
|||||||
NODE_OS_DISTRIBUTION="container-linux"
|
NODE_OS_DISTRIBUTION="container-linux"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${MASTER_OS_DISTRIBUTION}" == "cos" ]]; then
|
||||||
|
MASTER_OS_DISTRIBUTION="gci"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${NODE_OS_DISTRIBUTION}" == "cos" ]]; then
|
||||||
|
NODE_OS_DISTRIBUTION="gci"
|
||||||
|
fi
|
||||||
|
|
||||||
# By default a cluster will be started with the master on GCI and nodes on
|
# By default a cluster will be started with the master on GCI and nodes on
|
||||||
# containervm. If you are updating the containervm version, update this
|
# containervm. If you are updating the containervm version, update this
|
||||||
# variable. Also please update corresponding image for node e2e at:
|
# variable. Also please update corresponding image for node e2e at:
|
||||||
|
Loading…
Reference in New Issue
Block a user