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

Update CRD schema for auto_enable in graph options #665

Merged
merged 5 commits into from
Jul 3, 2023
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
6 changes: 6 additions & 0 deletions crd-docs/crd/kiali.io_kialis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,9 @@ spec:
items:
type: object
properties:
auto_select:
description: "If true this option will be selected and take effect automatically. Note that only one option in the list can have this value be set to true."
type: boolean
description:
description: "Human-readable text to let the user know what the expression does."
type: string
Expand All @@ -1063,6 +1066,9 @@ spec:
items:
type: object
properties:
auto_select:
description: "If true this option will be selected and take effect automatically. Note that only one option in the list can have this value be set to true."
type: boolean
description:
description: "Human-readable text to let the user know what the expression does."
type: string
Expand Down
21 changes: 14 additions & 7 deletions roles/default/kiali-deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,20 +257,27 @@ kiali_defaults:
ui_defaults:
graph:
find_options:
- description: "Find: slow edges (> 1s)"
- auto_select: false
description: "Find: slow edges (> 1s)"
expression: "rt > 1000"
- description: "Find: unhealthy nodes"
- auto_select: false
description: "Find: unhealthy nodes"
expression: "! healthy"
- description: "Find: unknown nodes"
- auto_select: false
description: "Find: unknown nodes"
expression: "name = unknown"
- description: "Find: nodes with the 2 top rankings"
- auto_select: false
description: "Find: nodes with the 2 top rankings"
expression: "rank <= 2"
hide_options:
- description: "Hide: healthy nodes"
- auto_select: false
description: "Hide: healthy nodes"
expression: "healthy"
- description: "Hide: unknown nodes"
- auto_select: false
description: "Hide: unknown nodes"
expression: "name = unknown"
- description: "Hide: nodes ranked lower than the 2 top rankings"
- auto_select: false
description: "Hide: nodes ranked lower than the 2 top rankings"
expression: "rank > 2"
settings:
font_label: 13
Expand Down