-
Notifications
You must be signed in to change notification settings - Fork 282
Closed
Labels
QA/manual-testIndicates issue requires manually testingIndicates issue requires manually testingarea/dashboardkind/bugstatus/backport-candidate
Milestone
Description
Setup
- Rancher version: v2.11.0 (dev of)
Describe the bug
- DetailText compoentn is used to show additional info in the header area of a resource detail page
- it's used in resources configmap, secret and token, as well as showing resource annotations
- if an empty value is passed in the whole page will fail to render (given undefined error
To Reproduce
- Use
rancher/rancher:v2.12.0-alpha11
image (before the latest detail page changes were added) - nav to cluster --> Import YAML
- Paste in (remove or update namespace as per target cluste)
-
apiVersion: v1 kind: Secret metadata: annotations: kubernetes.io/service-account.name: v2 name: v2 namespace: junk type: kubernetes.io/service-account-token
-
- Click Import
- Navigate to the detail page of the new resource
Result
- see screenshot, no main body
Expected Result
- see second screenshot
Screenshots
Bug
Expected
Metadata
Metadata
Assignees
Labels
QA/manual-testIndicates issue requires manually testingIndicates issue requires manually testingarea/dashboardkind/bugstatus/backport-candidate