Commit 4628abfd authored by Quintin Lee's avatar Quintin Lee

Fixing unbound bash variable.

parent 102f267b
...@@ -1081,6 +1081,7 @@ function start-kube-apiserver { ...@@ -1081,6 +1081,7 @@ function start-kube-apiserver {
local authorization_mode="RBAC" local authorization_mode="RBAC"
local -r src_dir="${KUBE_HOME}/kube-manifests/kubernetes/gci-trusty"
# Create the ABAC file only if it's explicitly requested. # Create the ABAC file only if it's explicitly requested.
if [[ -n "${ENABLE_LEGACY_ABAC_16_ONLY:-}" ]]; then if [[ -n "${ENABLE_LEGACY_ABAC_16_ONLY:-}" ]]; then
...@@ -1111,7 +1112,6 @@ function start-kube-apiserver { ...@@ -1111,7 +1112,6 @@ function start-kube-apiserver {
webhook_config_mount="{\"name\": \"webhookconfigmount\",\"mountPath\": \"/etc/gcp_authz.config\", \"readOnly\": false}," webhook_config_mount="{\"name\": \"webhookconfigmount\",\"mountPath\": \"/etc/gcp_authz.config\", \"readOnly\": false},"
webhook_config_volume="{\"name\": \"webhookconfigmount\",\"hostPath\": {\"path\": \"/etc/gcp_authz.config\"}}," webhook_config_volume="{\"name\": \"webhookconfigmount\",\"hostPath\": {\"path\": \"/etc/gcp_authz.config\"}},"
fi fi
local -r src_dir="${KUBE_HOME}/kube-manifests/kubernetes/gci-trusty"
params+=" --authorization-mode=${authorization_mode}" params+=" --authorization-mode=${authorization_mode}"
local container_env="" local container_env=""
......
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