Skip to content

Commit 4424d37

Browse files
committed
Fix kubeconfig via data reference
1 parent b9ce68f commit 4424d37

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/docs/reference/server/config.yml.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@ to configure [backends](../../concepts/backends.md) and other [server-level sett
287287
show_root_heading: false
288288

289289
??? info "Specifying `data`"
290-
To specify service account file contents as a string, use `jq`:
290+
To specify kubeconfig contents directly via `data`, convert it to a string:
291291

292292
```shell
293-
cat my-service-account-file.json | jq -c | jq -R
293+
yq -o=json ~/.kube/config | jq -c | jq -R
294294
```
295295

296296
###### `projects[n].backends[type=kubernetes].proxy_jump` { #kubernetes-proxy_jump data-toc-label="proxy_jump" }

0 commit comments

Comments
 (0)