diff --git a/.changeset/weak-rivers-perform.md b/.changeset/weak-rivers-perform.md index 42ff814cbe..92f96ab6e0 100644 --- a/.changeset/weak-rivers-perform.md +++ b/.changeset/weak-rivers-perform.md @@ -1,5 +1,5 @@ --- -'@backstage/plugin-kubernetes': minor +'@backstage/plugin-kubernetes': patch --- -Added accordions to display information on jobs and cronjobs in the kubernetes plugin. Updated the PodsTable with fewer default columns and the ability to pass in additional ones depending on the use case. +Added accordions to display information on Jobs and CronJobs in the kubernetes plugin. Updated the PodsTable with fewer default columns and the ability to pass in additional ones depending on the use case. diff --git a/plugins/kubernetes/src/components/CronJobsAccordions/CronJobsAccordions.tsx b/plugins/kubernetes/src/components/CronJobsAccordions/CronJobsAccordions.tsx index b136e2273c..2581678928 100644 --- a/plugins/kubernetes/src/components/CronJobsAccordions/CronJobsAccordions.tsx +++ b/plugins/kubernetes/src/components/CronJobsAccordions/CronJobsAccordions.tsx @@ -82,7 +82,7 @@ const CronJobSummary = ({ cronJob }: CronJobSummaryProps) => { ? `${cronJob.spec.schedule} (${cronstrue.toString( cronJob.spec.schedule, )})` - : '???'} + : 'N/A'} diff --git a/plugins/kubernetes/src/components/JobsAccordions/JobsDrawer.tsx b/plugins/kubernetes/src/components/JobsAccordions/JobsDrawer.tsx index d81e099acc..a7217725b2 100644 --- a/plugins/kubernetes/src/components/JobsAccordions/JobsDrawer.tsx +++ b/plugins/kubernetes/src/components/JobsAccordions/JobsDrawer.tsx @@ -34,7 +34,7 @@ export const JobDrawer = ({ return { parallelism: jobObj.spec?.parallelism ?? '???', completions: jobObj.spec?.completions ?? '???', - backOffLimit: jobObj.spec?.backoffLimit ?? '???', + backoffLimit: jobObj.spec?.backoffLimit ?? '???', startTime: jobObj.status?.startTime ?? '???', }; }}