mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Replace cronjob api version to batch/v1beta1 (#1747)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
a61e20965d
commit
b33629d24f
@ -91,14 +91,14 @@ export class CronJobDetails extends React.Component<Props> {
|
|||||||
|
|
||||||
kubeObjectDetailRegistry.add({
|
kubeObjectDetailRegistry.add({
|
||||||
kind: "CronJob",
|
kind: "CronJob",
|
||||||
apiVersions: ["batch/v1"],
|
apiVersions: ["batch/v1beta1"],
|
||||||
components: {
|
components: {
|
||||||
Details: (props) => <CronJobDetails {...props} />
|
Details: (props) => <CronJobDetails {...props} />
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
kubeObjectDetailRegistry.add({
|
kubeObjectDetailRegistry.add({
|
||||||
kind: "CronJob",
|
kind: "CronJob",
|
||||||
apiVersions: ["batch/v1"],
|
apiVersions: ["batch/v1beta1"],
|
||||||
priority: 5,
|
priority: 5,
|
||||||
components: {
|
components: {
|
||||||
Details: (props) => <KubeEventDetails {...props} />
|
Details: (props) => <KubeEventDetails {...props} />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user