Skip to content

Commit

Permalink
Add callout warning when NATS unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
grischperl committed Dec 7, 2023
1 parent 6169773 commit 7b8498e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions config/ui-extensions/eventing/details
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ header:
widget: Badge

body:
- source: "'If you chose the NATS backend, you must enable the NATS module.'"
widget: Alert
severity: info
visibility: "status.state = 'Warning'"
- name: Conditions
source: status.conditions
widget: Table
Expand All @@ -29,10 +25,10 @@ body:
- source: '$readableTimestamp(lastTransitionTime)'
name: Last transition
sort: true
- source: "'If you choose the NATS backend, you must enable the NATS module.'"
- source: "'NATS unavailable: If you choose the NATS backend, you must enable the NATS module.'"
widget: Alert
severity: info
visibility: "status.conditions.reason = 'NATSUnavailable'"
severity: warning
visibility: "$status.conditions[reason = 'NATSUnavailable']"
- name: Events
widget: EventList
filter: '$matchEvents($$, $root.kind, $root.metadata.name)'
Expand Down

0 comments on commit 7b8498e

Please sign in to comment.