From 161cea4b8c78cec8a494911f213b618ea8127363 Mon Sep 17 00:00:00 2001 From: Bart Smykla Date: Thu, 16 Apr 2020 13:51:06 +0200 Subject: [PATCH] Fixed missing var from fn in ensure_namespaces Signed-off-by: Bart Smykla --- infra/gcp/namespaces/ensure-namespaces.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/gcp/namespaces/ensure-namespaces.sh b/infra/gcp/namespaces/ensure-namespaces.sh index f697be9ca63..dd2eb650ea2 100755 --- a/infra/gcp/namespaces/ensure-namespaces.sh +++ b/infra/gcp/namespaces/ensure-namespaces.sh @@ -94,6 +94,7 @@ function apply_role() { return 1 fi project_name="$1" + namespace="$project_name" sed -e "s/{{namespace}}/$project_name/" "$ROLE_FILENAME" \ | "$KUBECTL" apply --cluster="$CLUSTER" --kubeconfig "$KUBECONFIG_PATH" -n "$namespace" -f -