mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Allow to specify KubeObjectDetailRegistration priority (#1335)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
1f88c05e82
commit
deb4773b44
22 files changed
+201
-36
No files matched your search
@@ -101,7 +101,6 @@ export class JobDetails extends React.Component<Props> {
|
||||
<PodDetailsStatuses pods={childPods}/>
|
||||
</DrawerItem>
|
||||
<PodDetailsList pods={childPods} owner={job}/>
|
||||
<KubeEventDetails object={job}/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -114,3 +113,11 @@ kubeObjectDetailRegistry.add({
|
||||
Details: (props: any) => <JobDetails {...props}/>
|
||||
}
|
||||
})
|
||||
kubeObjectDetailRegistry.add({
|
||||
kind: "Job",
|
||||
apiVersions: ["batch/v1"],
|
||||
priority: 5,
|
||||
components: {
|
||||
Details: (props: any) => <KubeEventDetails {...props}/>
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user