feat: add annotations to ConditionedStatus to make conditions a map

Signed-off-by: Philippe Scorsolini <p.scorsolini@gmail.com>
This commit is contained in:
Philippe Scorsolini 2023-09-28 11:48:12 +02:00
parent d4164c17c6
commit dbdff6e2ad
No known key found for this signature in database
GPG Key ID: 58CAEA8F1CC8503E
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@ func (c Condition) WithMessage(msg string) Condition {
// one condition of each type may exist.
type ConditionedStatus struct {
// Conditions of the resource.
// +listType=map
// +listMapKey=type
// +optional
Conditions []Condition `json:"conditions,omitempty"`
}