From 939d1b3be9cf10e8c0ba7e38259a28f3d55519b0 Mon Sep 17 00:00:00 2001 From: Sandeep Rajan Date: Thu, 16 Nov 2017 09:13:13 -0500 Subject: [PATCH] fix indent --- .../gce/container-linux/configure-helper.sh | 38 +++++++++---------- cluster/gce/gci/configure-helper.sh | 34 ++++++++--------- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/cluster/gce/container-linux/configure-helper.sh b/cluster/gce/container-linux/configure-helper.sh index 8daea4d086..a543595c9f 100755 --- a/cluster/gce/container-linux/configure-helper.sh +++ b/cluster/gce/container-linux/configure-helper.sh @@ -1228,34 +1228,34 @@ function update-prometheus-to-sd-parameters { fi } -# Prepares the manifests of coreDNS for k8s addons. +# Sets up the manifests of coreDNS for k8s addons. function setup-coredns-manifest { local -r coredns_file="${dst_dir}/dns/coredns.yaml" - mv "${dst_dir}/dns/coredns.yaml.in" "${coredns_file}" - # Replace the salt configurations with variable values. - sed -i -e "s@{{ *pillar\['dns_domain'\] *}}@${DNS_DOMAIN}@g" "${coredns_file}" - sed -i -e "s@{{ *pillar\['dns_server'\] *}}@${DNS_SERVER_IP}@g" "${coredns_file}" - sed -i -e "s@{{ *pillar\['service_cluster_ip_range'\] *}}@${SERVICE_CLUSTER_IP_RANGE}@g" "${coredns_file}" + mv "${dst_dir}/dns/coredns.yaml.in" "${coredns_file}" + # Replace the salt configurations with variable values. + sed -i -e "s@{{ *pillar\['dns_domain'\] *}}@${DNS_DOMAIN}@g" "${coredns_file}" + sed -i -e "s@{{ *pillar\['dns_server'\] *}}@${DNS_SERVER_IP}@g" "${coredns_file}" + sed -i -e "s@{{ *pillar\['service_cluster_ip_range'\] *}}@${SERVICE_CLUSTER_IP_RANGE}@g" "${coredns_file}" } -# Prepares the manifests of kube-dns for k8s addons. +# Sets up the manifests of kube-dns for k8s addons. function setup-kube-dns-manifest { local -r kubedns_file="${dst_dir}/dns/kube-dns.yaml" - mv "${dst_dir}/dns/kube-dns.yaml.in" "${kubedns_file}" - if [ -n "${CUSTOM_KUBE_DNS_YAML:-}" ]; then - # Replace with custom GKE kube-dns deployment. - cat > "${kubedns_file}" < "${kubedns_file}" < "${kubedns_file}" < "${kubedns_file}" <