From 19ae64a3daef5079f9680e9c4381cb3b02400910 Mon Sep 17 00:00:00 2001 From: polycaster <41343992+polycaster@users.noreply.github.com> Date: Tue, 15 Jan 2019 16:33:15 +0000 Subject: [PATCH] Suggest setting context using cluster variable so that it works with non-default clusters --- kube/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/kube/README.md b/kube/README.md index f807af61..94a53e78 100644 --- a/kube/README.md +++ b/kube/README.md @@ -8,13 +8,20 @@ Required environment variables: * `KUBE_CLUSTER`: cluster name parameter for the sidecar * `GCP_REGION`: GCP region parameter for the sidecar * `GCP_PROJECT`: GCP project parameter for the sidecar +* `SIDECAR_IMAGE_TAG`: Version parameter for the sidecar + +If your cluster is not the default context: + +```sh +kubectl config use-context +``` ## `patch.sh` Inject sidecar into Deployments or StatefulSets: ```sh -./patch.sh +./patch.sh ``` Additional environment variables: