Update BSL CR as long as there is any error

1. Mark the BSL as "Unavailable" when gets any error
2. Add a new field "Message" to the BSL status to record the error message

Fixes #4485
Fixes #4405

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
This commit is contained in:
Wenkai Yin(尹文开)
2022-02-25 21:41:43 +08:00
parent a8fb1d7e4b
commit bcc9aa8d69
5 changed files with 48 additions and 31 deletions

View File

@@ -158,6 +158,10 @@ spec:
format: date-time
nullable: true
type: string
message:
description: Message is a message about the backup storage location's
status.
type: string
phase:
description: Phase is the current state of the BackupStorageLocation.
enum:

File diff suppressed because one or more lines are too long