Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add show_resources to ui config docs #42334

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions docs/pages/includes/config-reference/proxy-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ proxy_service:
# rows that are retained when lines are scrolled beyond the initial
# viewport. Does not apply to session recording view.
scrollback_lines: 1000
# Which resources should be shown in the web UI resources page; resources the user
# has access to, and resources the user can request access to. By default, both types
# are included. If you wish for users to only see resources they have access to, set
# this to "accessible_only".
show_resources: 'requestable'

# Enables the Proxy service to take client source IPs from the
# "X-Forwarded-For" headers for web APIs.
Expand Down
6 changes: 6 additions & 0 deletions docs/pages/includes/ui-config-spec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@ spec:
# rows that are retained when lines are scrolled beyond the initial
# viewport. Does not apply to session recording view.
scrollback_lines: 1000

# Which resources should be shown in the web UI resources page resources the user
# has access to, and resources the user can request access to. By default, both types
# are included. If you wish for users to only see resources they have access to, set
# this to "accessible_only".
show_resources: 'requestable'
```
7 changes: 4 additions & 3 deletions docs/pages/management/dynamic-resources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,10 @@ static configuration file:

#### `ui_config`

|Dynamic resource field|Static configuration field|
|---|---|
|`spec.scrollback_lines`|`proxy_service.ui.scrollback_lines`|
| Dynamic resource field | Static configuration field |
| ----------------------- | ----------------------------------- |
| `spec.scrollback_lines` | `proxy_service.ui.scrollback_lines` |
| `spec.show_resources` | `proxy_service.ui.show_resources` |

### Origin labels

Expand Down
Loading