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
@@ -116,7 +116,6 @@ export class DeploymentDetails extends React.Component<Props> {
|
||||
<ResourceMetricsText metrics={metrics}/>
|
||||
<ReplicaSets replicaSets={replicaSets}/>
|
||||
<PodDetailsList pods={childPods} owner={deployment}/>
|
||||
<KubeEventDetails object={deployment}/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -129,3 +128,11 @@ kubeObjectDetailRegistry.add({
|
||||
Details: (props: any) => <DeploymentDetails {...props} />
|
||||
}
|
||||
})
|
||||
kubeObjectDetailRegistry.add({
|
||||
kind: "Deployment",
|
||||
apiVersions: ["apps/v1"],
|
||||
priority: 5,
|
||||
components: {
|
||||
Details: (props: any) => <KubeEventDetails {...props} />
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user