Skip to content

Commit

Permalink
Cleanup CR detail views of keda module (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiatekus authored Jan 9, 2025
1 parent 1f77274 commit c21483b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 40 deletions.
33 changes: 5 additions & 28 deletions config/ui-extensions/kedas/details
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
header:
- name: Ready
source: status.state
widget: Badge
highlights:
positive:
- 'Ready'
status:
body:
- name: Condition details
widget: ConditionList
source: status.conditions
body:
- name: Configuration
widget: Panel
Expand Down Expand Up @@ -50,27 +48,6 @@ body:
name: CPU limit
- source: spec.resources.admissionWebhook.limits.memory
name: Memory limit
- source: status.conditions
widget: Table
name: Reconciliation Conditions
children:
- source: type
name: Type
- source: status
name: Status
widget: Badge
highlights:
positive:
- 'True'
negative:
- 'False'
- source: reason
name: Reason
- source: message
name: Message
- source: '$readableTimestamp(lastTransitionTime)'
name: Last transition
sort: true

- widget: EventList
filter: '$matchEvents($$, $root.kind, $root.metadata.name)'
Expand Down
1 change: 0 additions & 1 deletion config/ui-extensions/kedas/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
configMapGenerator:
- name: kedas.operator.kyma-project.io
namespace: kube-public
files:
- general
- form
Expand Down
15 changes: 5 additions & 10 deletions config/ui-extensions/scaledobjects/details
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
header:
- name: Ready
source: status.conditions[0].status
description: status.conditions[0].message
widget: Badge
highlights:
positive:
- 'True'
negative:
- 'False'
status:
body:
- name: Condition details
widget: ConditionList
source: status.conditions
body:
- name: columns.container
widget: Columns
Expand Down
1 change: 0 additions & 1 deletion config/ui-extensions/scaledobjects/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
configMapGenerator:
- name: scaledobjects.keda.sh
namespace: kube-public
files:
- general
- presets
Expand Down

0 comments on commit c21483b

Please sign in to comment.