feat: add restore statuses to kubernetes crd

This commit is contained in:
2024-12-08 00:47:53 +03:30
parent c5b19d3336
commit 5abc044d69
9 changed files with 101 additions and 39 deletions

View File

@@ -69,6 +69,8 @@ spec:
type: string
jobId:
type: string
jarId:
type: string
error:
type: string
lastSavepointPath:
@@ -80,6 +82,14 @@ spec:
lastSavepointDate:
type: string
format: time
lastRestoredSavepointDate:
type: string
format: time
lastRestoredSavepointRestoredDate:
type: string
format: time
restoredCount:
type: number
additionalPrinterColumns:
- name: Status
type: string
@@ -87,6 +97,15 @@ spec:
- name: Age
type: date
jsonPath: .metadata.creationTimestamp
- name: LifeCycleStatus
- name: Life Cycle Status
type: string
jsonPath: .status.lifeCycleStatus
jsonPath: .status.lifeCycleStatus
- name: Last Savepoint
type: date
jsonPath: .status.lastSavepointDate
- name: Last Restored Savepoint
type: date
jsonPath: .status.lastRestoredSavepointDate
- name: Restored Count
type: number
jsonPath: .status.restoredCount