Skip to content

Commit bd9265a

Browse files
authored
Fix kubeconfig via data reference (#3170)
1 parent b9ce68f commit bd9265a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)