mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
kube-up: Add brackets to variable name
This commit is contained in:
parent
732e76fb4e
commit
ba415c1f39
@ -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=""
|
||||
|
Loading…
Reference in New Issue
Block a user