@skyhook-io/radar-app 1.21.0 → 1.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/App.tsx +13 -5
- package/src/api/radarFeatures.ts +4 -0
- package/src/api/velero.ts +176 -0
- package/src/api/vulnerabilities.ts +58 -0
- package/src/components/audit/ChecksViewTabs.test.tsx +4 -2
- package/src/components/audit/ChecksViewTabs.tsx +3 -2
- package/src/components/audit/Java4ShellPanel.test.tsx +31 -0
- package/src/components/audit/Java4ShellPanel.tsx +313 -0
- package/src/components/audit/VulnerabilitiesView.tsx +46 -9
- package/src/components/gitops/FluxOperatorCard.test.tsx +37 -0
- package/src/components/gitops/FluxOperatorCard.tsx +27 -0
- package/src/components/gitops/GitOpsView.rowsSummary.test.tsx +59 -0
- package/src/components/gitops/GitOpsView.tsx +7 -4
- package/src/components/gitops/gitopsRowEvents.test.ts +48 -0
- package/src/components/gitops/gitopsRowEvents.ts +31 -0
- package/src/components/velero/VeleroDetailPage.tsx +12 -2
- package/src/components/velero/VeleroRunArtifacts.test.tsx +241 -0
- package/src/components/velero/VeleroRunArtifacts.tsx +112 -0
- package/src/components/velero/VeleroRunVolumes.test.tsx +247 -0
- package/src/components/velero/VeleroRunVolumes.tsx +122 -0
- package/src/components/velero/VeleroSchedulePause.test.tsx +211 -0
- package/src/components/velero/VeleroSchedulePause.tsx +191 -0
- package/src/components/velero/host.tsx +9 -3
- package/src/components/vulnerabilities/WorkloadVulnerabilitiesSection.tsx +20 -8
- package/src/components/whats-new/WhatsNewDialog.test.tsx +6 -4
- package/src/components/whats-new/releaseNotes.ts +67 -1
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { useEffect, useState } from 'react'
|
|
2
|
+
import { CirclePause, CirclePlay } from 'lucide-react'
|
|
3
|
+
import {
|
|
4
|
+
ActionConfirmDialog,
|
|
5
|
+
GitOpsWriteWarning,
|
|
6
|
+
Tooltip,
|
|
7
|
+
canConfirmGitOpsWrite,
|
|
8
|
+
gitOpsRouteForOwner,
|
|
9
|
+
veleroNextRunText,
|
|
10
|
+
type GitOpsWrite,
|
|
11
|
+
} from '@skyhook-io/k8s-ui'
|
|
12
|
+
import { showApiSuccess } from '../ui/Toast'
|
|
13
|
+
import { useRadarFeature } from '../../api/client'
|
|
14
|
+
import { useVeleroSchedulePause, useVeleroScheduleActivity } from '../../api/velero'
|
|
15
|
+
import { useGitOpsWriteGuard } from '../../hooks/useGitOpsWriteGuard'
|
|
16
|
+
import { useWorkspaceNavigate } from '../workspace/useWorkspaceNavigate'
|
|
17
|
+
import { VELERO_GROUP } from './routes'
|
|
18
|
+
|
|
19
|
+
const BUTTON =
|
|
20
|
+
'btn-secondary inline-flex shrink-0 items-center gap-1.5 whitespace-nowrap px-2.5 py-1.5 text-xs font-medium disabled:cursor-not-allowed disabled:opacity-50'
|
|
21
|
+
|
|
22
|
+
const GUARDED_WRITES: GitOpsWrite[] = [{ scope: 'spec', paths: ['spec.paused', 'spec.skipImmediately'] }]
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Pause or Resume for a Velero Schedule, beside Back up now: sets
|
|
26
|
+
* spec.paused as `velero schedule pause|unpause` does. The confirmation is
|
|
27
|
+
* bound to the schedule's version when it opened, and Resume says what
|
|
28
|
+
* Velero does on its next pass, with the choice to skip a run that's due.
|
|
29
|
+
*/
|
|
30
|
+
export function VeleroSchedulePause({ schedule }: { schedule: any }) {
|
|
31
|
+
const { support } = useRadarFeature('veleroSchedulePause')
|
|
32
|
+
const namespace: string = schedule?.metadata?.namespace ?? ''
|
|
33
|
+
const name: string = schedule?.metadata?.name ?? ''
|
|
34
|
+
const resourceVersion: string = schedule?.metadata?.resourceVersion ?? ''
|
|
35
|
+
const paused = schedule?.spec?.paused === true
|
|
36
|
+
// The version the confirmation was opened on, and which way it goes.
|
|
37
|
+
const [reviewed, setReviewed] = useState<{ resourceVersion: string; pause: boolean } | null>(null)
|
|
38
|
+
if (support !== 'supported' || !namespace || !name) return null
|
|
39
|
+
|
|
40
|
+
const label = paused ? 'Resume' : 'Pause'
|
|
41
|
+
const unavailable = !resourceVersion ? 'The schedule hasn’t loaded yet.' : null
|
|
42
|
+
const button = (
|
|
43
|
+
<button type="button" onClick={() => setReviewed({ resourceVersion, pause: !paused })} disabled={unavailable !== null} className={BUTTON}>
|
|
44
|
+
{paused ? <CirclePlay className="h-3.5 w-3.5" aria-hidden /> : <CirclePause className="h-3.5 w-3.5" aria-hidden />}
|
|
45
|
+
{label}
|
|
46
|
+
</button>
|
|
47
|
+
)
|
|
48
|
+
return (
|
|
49
|
+
<>
|
|
50
|
+
{unavailable ? (
|
|
51
|
+
<Tooltip content={unavailable} position="bottom">
|
|
52
|
+
<span>{button}</span>
|
|
53
|
+
</Tooltip>
|
|
54
|
+
) : (
|
|
55
|
+
button
|
|
56
|
+
)}
|
|
57
|
+
{reviewed && (
|
|
58
|
+
<SchedulePauseDialog
|
|
59
|
+
namespace={namespace}
|
|
60
|
+
name={name}
|
|
61
|
+
pause={reviewed.pause}
|
|
62
|
+
reviewedVersion={reviewed.resourceVersion}
|
|
63
|
+
changed={resourceVersion !== reviewed.resourceVersion}
|
|
64
|
+
onClose={() => setReviewed(null)}
|
|
65
|
+
/>
|
|
66
|
+
)}
|
|
67
|
+
</>
|
|
68
|
+
)
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Mounted only while open, so the GitOps evidence is read only for a
|
|
72
|
+
// confirmation the user opened.
|
|
73
|
+
function SchedulePauseDialog({ namespace, name, pause, reviewedVersion, changed, onClose }: {
|
|
74
|
+
namespace: string
|
|
75
|
+
name: string
|
|
76
|
+
pause: boolean
|
|
77
|
+
reviewedVersion: string
|
|
78
|
+
changed: boolean
|
|
79
|
+
onClose: () => void
|
|
80
|
+
}) {
|
|
81
|
+
const workspace = useRadarFeature('veleroWorkspace')
|
|
82
|
+
const activity = useVeleroScheduleActivity(namespace, name, { enabled: workspace.support === 'supported' })
|
|
83
|
+
const mutation = useVeleroSchedulePause()
|
|
84
|
+
const navigate = useWorkspaceNavigate()
|
|
85
|
+
const [skip, setSkip] = useState(false)
|
|
86
|
+
const [acked, setAcked] = useState(false)
|
|
87
|
+
const { guard } = useGitOpsWriteGuard({ target: { kind: 'Schedule', group: VELERO_GROUP, namespace, name }, writes: GUARDED_WRITES })
|
|
88
|
+
|
|
89
|
+
const resume = activity.data?.resume
|
|
90
|
+
const skipping = !pause && skip && resume?.skipping ? resume.skipping : undefined
|
|
91
|
+
const outlook = skipping ?? resume?.default
|
|
92
|
+
// A dialog left open past the next run would still say nothing is due and
|
|
93
|
+
// offer no skip, so at that time the outlook is read again, and the
|
|
94
|
+
// confirmation waits for the new answer.
|
|
95
|
+
const waitUntil = !pause && resume?.default.outcome === 'waits' ? resume.default.nextRun : undefined
|
|
96
|
+
const refetchActivity = activity.refetch
|
|
97
|
+
const [expired, setExpired] = useState(false)
|
|
98
|
+
const updatedAt = activity.dataUpdatedAt
|
|
99
|
+
useEffect(() => {
|
|
100
|
+
setExpired(false)
|
|
101
|
+
if (!waitUntil) return
|
|
102
|
+
const delay = Date.parse(waitUntil) - Date.now()
|
|
103
|
+
if (!(delay < 2 ** 31 - 1)) return
|
|
104
|
+
// Past the time already (an answer read just before it): ask again in a
|
|
105
|
+
// second rather than at once, so a server a moment behind isn't polled.
|
|
106
|
+
const timer = setTimeout(() => {
|
|
107
|
+
setExpired(true)
|
|
108
|
+
void refetchActivity()
|
|
109
|
+
}, delay > 0 ? delay : 1000)
|
|
110
|
+
return () => clearTimeout(timer)
|
|
111
|
+
}, [waitUntil, refetchActivity, updatedAt])
|
|
112
|
+
const outlookPending = !pause && workspace.support === 'supported' && (activity.isPending || expired)
|
|
113
|
+
const effect = pause ? (
|
|
114
|
+
'Velero stops submitting this schedule’s runs until it is resumed.'
|
|
115
|
+
) : outlook ? (
|
|
116
|
+
<>
|
|
117
|
+
{outlook.summary}
|
|
118
|
+
{(outlook.outcome === 'waits' || outlook.outcome === 'skips') && outlook.nextRun && <> Next run {veleroNextRunText({ nextRun: outlook.nextRun, nextRunCertain: !!outlook.nextRunCertain })}.</>}
|
|
119
|
+
</>
|
|
120
|
+
) : activity.isPending && workspace.support === 'supported' ? (
|
|
121
|
+
'Reading what Velero does when this schedule resumes…'
|
|
122
|
+
) : (
|
|
123
|
+
'Velero submits this schedule’s runs again. Radar could not read what it does first: a run that’s due may be submitted at once.'
|
|
124
|
+
)
|
|
125
|
+
const notes = pause
|
|
126
|
+
? [
|
|
127
|
+
'A run already started continues to the end.',
|
|
128
|
+
activity.data?.backupsDisabled
|
|
129
|
+
? 'Back up now stays unavailable while Velero runs restore-only.'
|
|
130
|
+
: 'Back up now still creates a backup from this schedule while it is paused.',
|
|
131
|
+
]
|
|
132
|
+
: []
|
|
133
|
+
const warnings = [
|
|
134
|
+
...(activity.data?.serverStopped ? ['The Velero server isn’t running, so nothing happens until it starts.'] : []),
|
|
135
|
+
...(changed ? ['This schedule changed while this was open. Close it and review the schedule again.'] : []),
|
|
136
|
+
]
|
|
137
|
+
const skipValue = !pause && skipping ? true : null
|
|
138
|
+
const route = guard?.owner ? gitOpsRouteForOwner(guard.owner) : null
|
|
139
|
+
|
|
140
|
+
return (
|
|
141
|
+
<ActionConfirmDialog
|
|
142
|
+
open
|
|
143
|
+
onClose={onClose}
|
|
144
|
+
onConfirm={() =>
|
|
145
|
+
mutation.mutate(
|
|
146
|
+
{ namespace, name, paused: pause, resourceVersion: reviewedVersion, skipImmediately: skipValue },
|
|
147
|
+
{
|
|
148
|
+
onSuccess: (result) => {
|
|
149
|
+
onClose()
|
|
150
|
+
showApiSuccess(
|
|
151
|
+
result.changed ? `Schedule ${name} ${pause ? 'paused' : 'resumed'}` : `Schedule ${name} was already ${pause ? 'paused' : 'running'}`,
|
|
152
|
+
)
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
)
|
|
156
|
+
}
|
|
157
|
+
title={pause ? `Pause ${name}?` : `Resume ${name}?`}
|
|
158
|
+
subject={{ kind: 'Schedule', namespace, name }}
|
|
159
|
+
effect={effect}
|
|
160
|
+
notes={notes}
|
|
161
|
+
warnings={warnings}
|
|
162
|
+
guard={
|
|
163
|
+
guard ? (
|
|
164
|
+
<GitOpsWriteWarning
|
|
165
|
+
guard={guard}
|
|
166
|
+
acknowledged={acked}
|
|
167
|
+
onAcknowledgedChange={setAcked}
|
|
168
|
+
onOpenOwner={route ? () => navigate(route) : undefined}
|
|
169
|
+
onOpenManager={(owner) => navigate(gitOpsRouteForOwner(owner))}
|
|
170
|
+
/>
|
|
171
|
+
) : null
|
|
172
|
+
}
|
|
173
|
+
guardSatisfied={guard ? canConfirmGitOpsWrite(guard, acked) : false}
|
|
174
|
+
writes={[{
|
|
175
|
+
summary: `patch Schedule ${namespace}/${name}`,
|
|
176
|
+
detail: `spec.paused = ${pause}\nspec.skipImmediately = ${skipValue === true ? 'true' : 'null (the Velero server decides)'}`,
|
|
177
|
+
}]}
|
|
178
|
+
confirmLabel={pause ? 'Pause schedule' : 'Resume schedule'}
|
|
179
|
+
isLoading={mutation.isPending}
|
|
180
|
+
result={mutation.error ? { state: 'error', message: mutation.error.message } : undefined}
|
|
181
|
+
incompleteReason={changed ? 'The schedule changed' : outlookPending ? 'Reading what resuming does' : undefined}
|
|
182
|
+
>
|
|
183
|
+
{!pause && resume?.skipping && (
|
|
184
|
+
<label className="flex items-center gap-2 text-sm">
|
|
185
|
+
<input type="checkbox" checked={skip} onChange={(e) => setSkip(e.target.checked)} />
|
|
186
|
+
Skip the run that’s due now
|
|
187
|
+
</label>
|
|
188
|
+
)}
|
|
189
|
+
</ActionConfirmDialog>
|
|
190
|
+
)
|
|
191
|
+
}
|
|
@@ -9,6 +9,7 @@ import { renderVeleroSummary } from './VeleroPages'
|
|
|
9
9
|
import { VeleroBackupsKindList, VeleroLocationsKindList, VeleroRestoresKindList, VeleroSchedulesKindList } from './VeleroKindLists'
|
|
10
10
|
import { VeleroDeleteBackup } from './VeleroDeleteBackup'
|
|
11
11
|
import { VeleroBackupNow } from './VeleroBackupNow'
|
|
12
|
+
import { VeleroSchedulePause } from './VeleroSchedulePause'
|
|
12
13
|
import { VeleroScheduleStatusBadge } from './VeleroScheduleStatusBadge'
|
|
13
14
|
import { VeleroRunIssueMessages } from './VeleroRunMessagesHost'
|
|
14
15
|
import { kindToPluralWithGroup } from '../../utils/navigation'
|
|
@@ -58,8 +59,8 @@ export const veleroResourceHost: ResourceHost = {
|
|
|
58
59
|
detailOwnership: ['summary', 'destination'],
|
|
59
60
|
// The composed Overview, on the page and in the drawer (the renderer is
|
|
60
61
|
// Spec & status); a backup's Delete backup; and a schedule's header: its
|
|
61
|
-
// reading as the status chip, and Back up now in the action
|
|
62
|
-
// resource's actions.
|
|
62
|
+
// reading as the status chip, and Back up now and Pause/Resume in the action
|
|
63
|
+
// row with every resource's actions.
|
|
63
64
|
detailSlots: (resource): DetailSlots => {
|
|
64
65
|
const summary: DetailSlots = { renderSummary: (props) => renderVeleroSummary(props) }
|
|
65
66
|
if (detailKind(resource) === VELERO_BACKUP_KIND.name) return {
|
|
@@ -71,7 +72,12 @@ export const veleroResourceHost: ResourceHost = {
|
|
|
71
72
|
...summary,
|
|
72
73
|
renderStatusBadge: (data: any) => <VeleroScheduleStatusBadge resource={data} />,
|
|
73
74
|
renderHeaderActions: ({ resource: data, onNavigate }) =>
|
|
74
|
-
isApiGroup(data?.apiVersion, VELERO_GROUP_NAME) ?
|
|
75
|
+
isApiGroup(data?.apiVersion, VELERO_GROUP_NAME) ? (
|
|
76
|
+
<>
|
|
77
|
+
<VeleroBackupNow schedule={data} onNavigate={onNavigate} />
|
|
78
|
+
<VeleroSchedulePause schedule={data} />
|
|
79
|
+
</>
|
|
80
|
+
) : null,
|
|
75
81
|
}
|
|
76
82
|
},
|
|
77
83
|
// A failed run's messages are what is wrong with it.
|
|
@@ -8,6 +8,8 @@ import { useAPIResources } from '../../api/apiResources'
|
|
|
8
8
|
import { useRadarFeature } from '../../api/client'
|
|
9
9
|
import { isRadarFeatureUnsupported } from '../../api/radarFeatures'
|
|
10
10
|
import { hasVulnerabilityReports, isKindUnknown, useVulnerabilities, workloadParam } from '../../api/vulnerabilities'
|
|
11
|
+
import { useConnection } from '../../context/ConnectionContext'
|
|
12
|
+
import { Java4ShellPanel } from '../audit/Java4ShellPanel'
|
|
11
13
|
import { ClearedCount, FixVersion, ImageName, SeverityCounts, gapSentence } from './parts'
|
|
12
14
|
|
|
13
15
|
interface Props {
|
|
@@ -17,28 +19,37 @@ interface Props {
|
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
/**
|
|
20
|
-
*
|
|
21
|
-
* the current scan found, and the upgrades that clear the most. Absent where the
|
|
22
|
-
* cluster has no scanner reports or the Radar predates the endpoint.
|
|
22
|
+
* The drawer combines any available scanner reports with the on-demand advisory.
|
|
23
23
|
*/
|
|
24
24
|
export function WorkloadVulnerabilitiesSection({ kind, namespace, name }: Props) {
|
|
25
25
|
const navigate = useNavigate()
|
|
26
26
|
const [params] = useSearchParams()
|
|
27
27
|
const { data: resources } = useAPIResources()
|
|
28
28
|
const { support } = useRadarFeature('vulnerabilities')
|
|
29
|
+
const { support: advisorySupport } = useRadarFeature('runtimeAdvisoryChecks')
|
|
30
|
+
const { connection } = useConnection()
|
|
29
31
|
const available = hasVulnerabilityReports(resources) && support !== 'unsupported'
|
|
30
32
|
const workload = { kind, namespace, name }
|
|
31
33
|
const { data, isLoading, error } = useVulnerabilities({ view: 'image', workload }, available && !!namespace && !!name)
|
|
32
34
|
// The upgrades it needs, as By fix works them out, once it has findings.
|
|
33
35
|
const { data: fixData } = useVulnerabilities({ view: 'fix', workload }, available && !!namespace && !!name && (data?.images ?? []).length > 0)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
const advisory = advisorySupport === 'supported' && !!namespace && !!name && (
|
|
37
|
+
<Java4ShellPanel
|
|
38
|
+
context={connection.context}
|
|
39
|
+
connected={connection.state === 'connected'}
|
|
40
|
+
workload={{ ...workload, group: 'apps' }}
|
|
41
|
+
/>
|
|
42
|
+
)
|
|
43
|
+
if (!available || (error && (isRadarFeatureUnsupported(error) || isKindUnknown(error)))) {
|
|
44
|
+
return advisory ? <Section title="Vulnerabilities" icon={Shield}>{advisory}</Section> : null
|
|
45
|
+
}
|
|
38
46
|
if (error) {
|
|
39
47
|
return (
|
|
40
48
|
<Section title="Vulnerabilities" icon={Shield}>
|
|
41
|
-
<
|
|
49
|
+
<div className="flex flex-col gap-3">
|
|
50
|
+
<p className="text-xs text-warning-text">Couldn't read vulnerability reports: {error instanceof Error ? error.message : 'request failed'}.</p>
|
|
51
|
+
{advisory}
|
|
52
|
+
</div>
|
|
42
53
|
</Section>
|
|
43
54
|
)
|
|
44
55
|
}
|
|
@@ -146,6 +157,7 @@ export function WorkloadVulnerabilitiesSection({ kind, namespace, name }: Props)
|
|
|
146
157
|
)}
|
|
147
158
|
</div>
|
|
148
159
|
)}
|
|
160
|
+
{advisory && <div className="mt-3">{advisory}</div>}
|
|
149
161
|
</Section>
|
|
150
162
|
)
|
|
151
163
|
}
|
|
@@ -7,7 +7,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
|
|
|
7
7
|
import { Megaphone } from 'lucide-react'
|
|
8
8
|
import type { WhatsNewState } from '../../api/client'
|
|
9
9
|
import { openWhatsNew, useWhatsNewStatus, WhatsNew } from './WhatsNew'
|
|
10
|
-
import { MAX_CARDS, RELEASE_NOTES, type ReleaseNotes } from './releaseNotes'
|
|
10
|
+
import { MAX_CARDS, RELEASE_NOTES, releaseLine, type ReleaseNotes } from './releaseNotes'
|
|
11
11
|
|
|
12
12
|
Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true })
|
|
13
13
|
|
|
@@ -38,6 +38,8 @@ function StatusProbe() {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
const SHIPPED = [...RELEASE_NOTES]
|
|
41
|
+
const newestRelease = SHIPPED[0]
|
|
42
|
+
const newestReleaseLine = releaseLine(newestRelease.version)
|
|
41
43
|
|
|
42
44
|
const card = (id: string, title: string, importance: number) => ({ id, icon: Megaphone, title, description: 'd', importance })
|
|
43
45
|
|
|
@@ -314,12 +316,12 @@ describe('WhatsNew', () => {
|
|
|
314
316
|
expect(seenPosts).toEqual([])
|
|
315
317
|
})
|
|
316
318
|
|
|
317
|
-
it.each(['',
|
|
319
|
+
it.each(['', `=${newestReleaseLine}`, `=${newestReleaseLine.slice(1)}`, `=${newestRelease.version}`])('previews the latest release on a Git development build with ?whats-new%s', async suffix => {
|
|
318
320
|
setCatalog(...SHIPPED)
|
|
319
321
|
serverState = { currentVersion: 'v1.18.0-113-gb49561b78', storage: 'server', seenVersion: 'v1.18.0', priorInstall: true }
|
|
320
322
|
await render(`/resources/pods?whats-new${suffix}`)
|
|
321
|
-
expect(dialog()?.textContent).toContain(
|
|
322
|
-
expect(dialog()?.textContent).toContain(
|
|
323
|
+
expect(dialog()?.textContent).toContain(`What's new in Radar ${newestReleaseLine}`)
|
|
324
|
+
expect(dialog()?.textContent).toContain(newestRelease.highlights[0].title)
|
|
323
325
|
await clickGotIt()
|
|
324
326
|
expect(seenPosts).toEqual([])
|
|
325
327
|
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LucideIcon } from 'lucide-react'
|
|
2
|
-
import { Activity, BellOff, Bot, Boxes, Braces, Database, GitCompareArrows, HardDrive, Hourglass, Layers, MessageCircleQuestionMark, Network, RefreshCcw, Scale, ScanSearch, ScrollText, Search, ShieldAlert, SlidersHorizontal, Undo2 } from 'lucide-react'
|
|
2
|
+
import { Activity, BellOff, Bot, Boxes, Braces, Database, GitBranch, GitCompareArrows, HardDrive, Hourglass, Layers, MessageCircleQuestionMark, Network, RefreshCcw, Scale, ScanSearch, ScrollText, Search, ShieldAlert, SlidersHorizontal, Undo2, Zap } from 'lucide-react'
|
|
3
3
|
import { compareVersions } from '../../utils/version'
|
|
4
4
|
|
|
5
5
|
export interface ReleaseHighlight {
|
|
@@ -48,6 +48,72 @@ export const CHANGELOG_URL = 'https://radarhq.io/changelog'
|
|
|
48
48
|
// major release must have its own entry: scripts/check-whats-new.sh refuses to
|
|
49
49
|
// release one without it.
|
|
50
50
|
export const RELEASE_NOTES: ReleaseNotes[] = [
|
|
51
|
+
{
|
|
52
|
+
version: 'v1.21.0',
|
|
53
|
+
highlights: [
|
|
54
|
+
{
|
|
55
|
+
id: 'velero-workspace',
|
|
56
|
+
icon: HardDrive,
|
|
57
|
+
title: 'Manage your Velero backups in Radar',
|
|
58
|
+
description: 'Run backups on demand, manage schedules, and inspect backup and restore contents, logs and per-volume progress.',
|
|
59
|
+
leadDescription: 'Start a backup on demand, pause or resume schedules, and delete backups through Velero. Spot late schedules and storage problems, then open a backup or restore for its contents, logs and per-volume progress when available.',
|
|
60
|
+
importance: 9,
|
|
61
|
+
path: '/velero',
|
|
62
|
+
cta: 'Open Backup & restore',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 'relationship-performance',
|
|
66
|
+
icon: Zap,
|
|
67
|
+
title: 'Radar now uses up to 69% less CPU and 20% less peak heap memory',
|
|
68
|
+
description: 'Resource neighborhoods respond faster. Applications show Services, routes and scalers even on large clusters.',
|
|
69
|
+
importance: 8,
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: 'running-image-vulnerabilities',
|
|
73
|
+
icon: ShieldAlert,
|
|
74
|
+
title: 'New Vulnerabilities view',
|
|
75
|
+
description: 'See CVEs for running images in one place with Trivy Operator. Find affected workloads, available fixes and gaps in scan coverage.',
|
|
76
|
+
importance: 8,
|
|
77
|
+
path: '/checks/vulnerabilities',
|
|
78
|
+
cta: 'Open Vulnerabilities',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: 'agent-runtime-health',
|
|
82
|
+
icon: Bot,
|
|
83
|
+
title: 'Agent Sandbox and Agent Substrate',
|
|
84
|
+
description: 'See Sandbox and WorkerPool status and issues. With Prometheus, check WorkerPool capacity and snapshot health on Nodes.',
|
|
85
|
+
importance: 7,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
id: 'java4shell-check',
|
|
89
|
+
icon: ScanSearch,
|
|
90
|
+
title: 'Check for Java4Shell',
|
|
91
|
+
description: 'Check declared Java versions in workload drawers or with radar check java4shell. Node CPU features help prioritize fixes. Works without Trivy.',
|
|
92
|
+
importance: 7,
|
|
93
|
+
path: '/checks/vulnerabilities',
|
|
94
|
+
cta: 'Open Java4Shell check',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
id: 'flux-operator',
|
|
98
|
+
icon: GitBranch,
|
|
99
|
+
title: 'Flux Operator in GitOps',
|
|
100
|
+
description: 'See Flux versions, controller readiness and failing reconciler counts in GitOps. Open dedicated views for Flux Operator resources.',
|
|
101
|
+
importance: 7,
|
|
102
|
+
path: '/gitops',
|
|
103
|
+
cta: 'Open GitOps',
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
improvements: [
|
|
107
|
+
'Pod Logs opens on the init container holding up startup, and the Pods table distinguishes starting containers from failures',
|
|
108
|
+
'Radar retries namespace and permission checks after timeouts when switching clusters',
|
|
109
|
+
'GitOps refreshes live for Argo CD and Flux, with clearer rollout, auto-sync and managed resource details',
|
|
110
|
+
'Istio Live Traffic shows waypoint requests and errors, rates for the selected time range, and TCP throughput',
|
|
111
|
+
'Pages load faster, long timelines scroll smoothly, and resource views fetch only the check badges they display',
|
|
112
|
+
'Windows Desktop gains a compact title bar, single-instance launch, safer updates, better PowerShell defaults and fixed zoom shortcuts',
|
|
113
|
+
'New views for system-upgrade-controller Plans, CSI snapshots and Strimzi Kafka, plus CloudNativePG backup checks',
|
|
114
|
+
'Denser resource tables fit columns to their contents and hide lower-priority columns when space is tight',
|
|
115
|
+
],
|
|
116
|
+
},
|
|
51
117
|
{
|
|
52
118
|
version: 'v1.20.0',
|
|
53
119
|
highlights: [
|