From a73df1532f1f874c2a88cb4d858142212d27cdb4 Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Wed, 24 Nov 2021 09:51:05 -0600 Subject: [PATCH] fix spellings and update changeset Signed-off-by: Andrew Tran --- .changeset/weak-rivers-perform.md | 4 ++-- .../src/components/CronJobsAccordions/CronJobsAccordions.tsx | 2 +- .../kubernetes/src/components/JobsAccordions/JobsDrawer.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 ?? '???', }; }}