Skip to content

Commit 19ae64a

Browse files
polycasterjkohen
authored andcommitted
Suggest setting context using cluster variable so that it works with non-default clusters
1 parent ae5c3a3 commit 19ae64a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

kube/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@ Required environment variables:
88
* `KUBE_CLUSTER`: cluster name parameter for the sidecar
99
* `GCP_REGION`: GCP region parameter for the sidecar
1010
* `GCP_PROJECT`: GCP project parameter for the sidecar
11+
* `SIDECAR_IMAGE_TAG`: Version parameter for the sidecar
12+
13+
If your cluster is not the default context:
14+
15+
```sh
16+
kubectl config use-context <kubernetes_context>
17+
```
1118

1219
## `patch.sh`
1320

1421
Inject sidecar into Deployments or StatefulSets:
1522

1623
```sh
17-
./patch.sh <deployment|statefulset> <name>
24+
./patch.sh <deployment|statefulset> <name>
1825
```
1926

2027
Additional environment variables:

0 commit comments

Comments
 (0)