mirror of https://github.com/k3s-io/k3s
Remove unneeded double quotes from hack/local-up-cluster.sh.
They freak out vim syntax highlighting when they are combined with a '/' character.pull/6/head
parent
b844a0722c
commit
1decca8202
|
@ -26,7 +26,7 @@ RUNTIME_CONFIG=${RUNTIME_CONFIG:-""}
|
||||||
NET_PLUGIN=${NET_PLUGIN:-""}
|
NET_PLUGIN=${NET_PLUGIN:-""}
|
||||||
NET_PLUGIN_DIR=${NET_PLUGIN_DIR:-""}
|
NET_PLUGIN_DIR=${NET_PLUGIN_DIR:-""}
|
||||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||||
SERVICE_CLUSTER_IP_RANGE=${SERVICE_CLUSTER_IP_RANGE:-"10.0.0.0/24"}
|
SERVICE_CLUSTER_IP_RANGE=${SERVICE_CLUSTER_IP_RANGE:-10.0.0.0/24}
|
||||||
# We disable cluster DNS by default because this script uses docker0 (or whatever
|
# We disable cluster DNS by default because this script uses docker0 (or whatever
|
||||||
# container bridge docker is currently using) and we don't know the IP of the
|
# container bridge docker is currently using) and we don't know the IP of the
|
||||||
# DNS pod to pass in as --cluster-dns. To set this up by hand, set this flag
|
# DNS pod to pass in as --cluster-dns. To set this up by hand, set this flag
|
||||||
|
@ -145,7 +145,7 @@ API_HOST_IP=${API_HOST_IP:-${API_HOST}}
|
||||||
API_BIND_ADDR=${API_BIND_ADDR:-"0.0.0.0"}
|
API_BIND_ADDR=${API_BIND_ADDR:-"0.0.0.0"}
|
||||||
KUBELET_HOST=${KUBELET_HOST:-"127.0.0.1"}
|
KUBELET_HOST=${KUBELET_HOST:-"127.0.0.1"}
|
||||||
# By default only allow CORS for requests on localhost
|
# By default only allow CORS for requests on localhost
|
||||||
API_CORS_ALLOWED_ORIGINS=${API_CORS_ALLOWED_ORIGINS:-"/127.0.0.1(:[0-9]+)?$,/localhost(:[0-9]+)?$"}
|
API_CORS_ALLOWED_ORIGINS=${API_CORS_ALLOWED_ORIGINS:-/127.0.0.1(:[0-9]+)?$,/localhost(:[0-9]+)?$}
|
||||||
KUBELET_PORT=${KUBELET_PORT:-10250}
|
KUBELET_PORT=${KUBELET_PORT:-10250}
|
||||||
LOG_LEVEL=${LOG_LEVEL:-3}
|
LOG_LEVEL=${LOG_LEVEL:-3}
|
||||||
CONTAINER_RUNTIME=${CONTAINER_RUNTIME:-"docker"}
|
CONTAINER_RUNTIME=${CONTAINER_RUNTIME:-"docker"}
|
||||||
|
@ -280,7 +280,7 @@ function start_etcd {
|
||||||
|
|
||||||
function set_service_accounts {
|
function set_service_accounts {
|
||||||
SERVICE_ACCOUNT_LOOKUP=${SERVICE_ACCOUNT_LOOKUP:-false}
|
SERVICE_ACCOUNT_LOOKUP=${SERVICE_ACCOUNT_LOOKUP:-false}
|
||||||
SERVICE_ACCOUNT_KEY=${SERVICE_ACCOUNT_KEY:-"/tmp/kube-serviceaccount.key"}
|
SERVICE_ACCOUNT_KEY=${SERVICE_ACCOUNT_KEY:-/tmp/kube-serviceaccount.key}
|
||||||
# Generate ServiceAccount key if needed
|
# Generate ServiceAccount key if needed
|
||||||
if [[ ! -f "${SERVICE_ACCOUNT_KEY}" ]]; then
|
if [[ ! -f "${SERVICE_ACCOUNT_KEY}" ]]; then
|
||||||
mkdir -p "$(dirname ${SERVICE_ACCOUNT_KEY})"
|
mkdir -p "$(dirname ${SERVICE_ACCOUNT_KEY})"
|
||||||
|
|
Loading…
Reference in New Issue