Commit ba415c1f authored by Justin Santa Barbara's avatar Justin Santa Barbara

kube-up: Add brackets to variable name

parent 732e76fb
......@@ -663,7 +663,7 @@ function create-certs {
local -r cert_ip="${1}"
# Determine extra certificate names for master
local octets=($(echo "$SERVICE_CLUSTER_IP_RANGE" | sed -e 's|/.*||' -e 's/\./ /g'))
local octets=($(echo "${SERVICE_CLUSTER_IP_RANGE}" | sed -e 's|/.*||' -e 's/\./ /g'))
((octets[3]+=1))
local -r service_ip=$(echo "${octets[*]}" | sed 's/ /./g')
local sans=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment