Skip to content

Commit

Permalink
Merge pull request #2609 from farodin91/frontend--add-name-to-Section…
Browse files Browse the repository at this point in the history
…Header

frontend: add resource name to SectionHeader
  • Loading branch information
joaquimrocha authored Nov 26, 2024
2 parents 34bc552 + 0f65f77 commit ee1e62e
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export function MainInfoHeader<T extends KubeObject>(props: MainInfoHeaderProps<

return (
<SectionHeader
title={title || (resource ? resource.kind : '')}
title={title || (resource ? `${resource.kind}: ${resource.getName()}` : '')}
headerStyle={headerStyle}
actions={allActions}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
ConfigMap
ConfigMap: my-pvc
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
ConfigMap
ConfigMap: my-pvc
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
CustomResourceDefinition
CustomResourceDefinition: mydefinition.phonyresources.io
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
MyCustomResource
MyCustomResource: mycustomresource
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
CronJob
CronJob: every-minute-one-char
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
CronJob
CronJob: every-minute
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
HorizontalPodAutoscaler
HorizontalPodAutoscaler: php-apache
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
IngressClass
IngressClass: resource-example-ingress
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
IngressClass
IngressClass: resource-example-ingress
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Ingress
Ingress: resource-example-ingress
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Ingress
Ingress: tls-example-ingress
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Ingress
Ingress: wildcard-tls-example-ingress
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Lease
Lease: lease
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
LimitRange
LimitRange: limit-range
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Namespace
Namespace: my-namespaces
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Pod
Pod: terminated
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Pod
Pod: initializing
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Pod
Pod: liveness-http
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Pod
Pod: imagepullbackoff
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Pod
Pod: running
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Pod
Pod: successful
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
PodDisruptionBudget
PodDisruptionBudget: coredns-pdb
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
PriorityClass
PriorityClass: high-priority-apps
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
ResourceQuota
ResourceQuota: test-cpu-quota
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
RuntimeClass
RuntimeClass: runtime-class
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Secret
Secret: my-pvc
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
Secret
Secret: my-pvc
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
PersistentVolumeClaim
PersistentVolumeClaim: my-pvc
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
StorageClass
StorageClass: my-pvc
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
PersistentVolume
PersistentVolume: my-pvc
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
VerticalPodAutoscaler
VerticalPodAutoscaler: multi-container-vpa
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
MutatingWebhookConfiguration
MutatingWebhookConfiguration: webhook-admission-controller
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
MutatingWebhookConfiguration
MutatingWebhookConfiguration: webhook-admission-controller
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
ValidatingWebhookConfiguration
ValidatingWebhookConfiguration: my-validating-webhook
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<h1
class="MuiTypography-root MuiTypography-h1 MuiTypography-noWrap css-yeaech-MuiTypography-root"
>
ValidatingWebhookConfiguration
ValidatingWebhookConfiguration: my-validating-webhook
</h1>
<div
class="MuiBox-root css-ldp2l3"
Expand Down

0 comments on commit ee1e62e

Please sign in to comment.