mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
allow to specify KubeObjectDetailRegistration priority
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
6a908cb528
commit
b477cd9fba
22 files changed
+200
-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: 0,
|
||||
components: {
|
||||
Details: (props: any) => <KubeEventDetails {...props}/>
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user