From 7a7f856e22a584c1ecff3ba47ab1220fb4feab2b Mon Sep 17 00:00:00 2001 From: Pavithra Ramesh Date: Tue, 30 Apr 2019 11:27:36 -0700 Subject: [PATCH] Support running custom nodelocaldns yaml in gce. --- cluster/gce/gci/configure-helper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/gce/gci/configure-helper.sh b/cluster/gce/gci/configure-helper.sh index b64da4b6255..e351728f6a2 100644 --- a/cluster/gce/gci/configure-helper.sh +++ b/cluster/gce/gci/configure-helper.sh @@ -2630,6 +2630,7 @@ EOF function setup-nodelocaldns-manifest { setup-addon-manifests "addons" "0-dns/nodelocaldns" local -r localdns_file="${dst_dir}/0-dns/nodelocaldns/nodelocaldns.yaml" + setup-addon-custom-yaml "addons" "0-dns/nodelocaldns" "nodelocaldns.yaml" "${CUSTOM_NODELOCAL_DNS_YAML:-}" # Replace the sed configurations with variable values. sed -i -e "s/__PILLAR__DNS__DOMAIN__/${DNS_DOMAIN}/g" "${localdns_file}" sed -i -e "s/__PILLAR__DNS__SERVER__/${DNS_SERVER_IP}/g" "${localdns_file}"