File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2376,7 +2376,7 @@ function setup-coredns-manifest {
2376
2376
sed -i -e " s@{{ *pillar\['dns_domain'\] *}}@${DNS_DOMAIN} @g" " ${coredns_file} "
2377
2377
sed -i -e " s@{{ *pillar\['dns_server'\] *}}@${DNS_SERVER_IP} @g" " ${coredns_file} "
2378
2378
sed -i -e " s@{{ *pillar\['service_cluster_ip_range'\] *}}@${SERVICE_CLUSTER_IP_RANGE} @g" " ${coredns_file} "
2379
- sed -i -e " s@{{ *pillar\['dns_memory_limit'\] *}}@${DNS_MEMORY_LIMIT} @g" " ${coredns_file} "
2379
+ sed -i -e " s@{{ *pillar\['dns_memory_limit'\] *}}@${DNS_MEMORY_LIMIT:- 170Mi } @g" " ${coredns_file} "
2380
2380
2381
2381
if [[ " ${ENABLE_DNS_HORIZONTAL_AUTOSCALER:- } " == " true" ]]; then
2382
2382
setup-addon-manifests " addons" " dns-horizontal-autoscaler" " gce"
@@ -2428,7 +2428,7 @@ EOF
2428
2428
# Replace the salt configurations with variable values.
2429
2429
sed -i -e " s@{{ *pillar\['dns_domain'\] *}}@${DNS_DOMAIN} @g" " ${kubedns_file} "
2430
2430
sed -i -e " s@{{ *pillar\['dns_server'\] *}}@${DNS_SERVER_IP} @g" " ${kubedns_file} "
2431
- sed -i -e " s@{{ *pillar\['dns_memory_limit'\] *}}@${DNS_MEMORY_LIMIT} @g" " ${kubedns_file} "
2431
+ sed -i -e " s@{{ *pillar\['dns_memory_limit'\] *}}@${DNS_MEMORY_LIMIT:- 170Mi } @g" " ${kubedns_file} "
2432
2432
2433
2433
if [[ " ${ENABLE_DNS_HORIZONTAL_AUTOSCALER:- } " == " true" ]]; then
2434
2434
setup-addon-manifests " addons" " dns-horizontal-autoscaler" " gce"
You can’t perform that action at this time.
0 commit comments