Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Add a blurb about where to find the cluster name. #32

Merged
merged 1 commit into from
Sep 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ k8s_defaults(
# you will import in your BUILD files.
name = "k8s_deploy",
kind = "deployment",
# This is the name of the cluster as it appears in:
# kubectl config current-context
cluster = "my-gke-cluster",
)
```
Expand Down Expand Up @@ -348,6 +350,8 @@ A repository rule that allows users to alias `k8s_object` with default values.
<p><code>string, optional</code></p>
<p>The name of the cluster to which <code>create, replace, delete,
describe</code> should speak.</p>
<p>This should match the cluster name as it would appear in
<code>kubectl config current-context</code></p>
</td>
</tr>
<tr>
Expand Down