mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 12:48:51 +00:00
Move the defaults setting of GCI to util.sh
This change recovers some of the side effects of https://github.com/kubernetes/kubernetes/pull/26197, i.e., keeps the defaults of `NODE_IMAGE` and `NODE_IMAGE_PROJECT` to `MASTER_IMAGE` and `MASTER_IMAGE_PROJECT`, for backward compatibility. Although it keeps `OS_DISTRIBUTION` defaulting to `gci`, the default settings of these vars are moved to `cluster/gce/util.sh` and conditioned on `OS_DISTRIBUTION==gci`.
This commit is contained in:
@@ -9,6 +9,7 @@ cluster/aws/templates/configure-vm-aws.sh: env-to-grains "runtime_config"
|
||||
cluster/aws/templates/configure-vm-aws.sh: kubelet_api_servers: '${KUBELET_APISERVER}'
|
||||
cluster/centos/util.sh: local node_ip=${node#*@}
|
||||
cluster/gce/config-default.sh:# reloads <os_distro>/helper.sh in the gap between when the master is created
|
||||
cluster/gce/config-test.sh:# reloads <os_distro>/helper.sh in the gap between when the master is created
|
||||
cluster/gce/configure-vm.sh: advertise_address: '${EXTERNAL_IP}'
|
||||
cluster/gce/configure-vm.sh: api_servers: '${KUBERNETES_MASTER_NAME}'
|
||||
cluster/gce/configure-vm.sh: cloud_config: ${CLOUD_CONFIG}
|
||||
|
Reference in New Issue
Block a user