diff --git a/apis/management/v1alpha1/projectquota_types.go b/apis/management/v1alpha1/projectquota_types.go index 97aa5cb7a..d94f864b2 100644 --- a/apis/management/v1alpha1/projectquota_types.go +++ b/apis/management/v1alpha1/projectquota_types.go @@ -65,12 +65,18 @@ type ProjectQuotaStatus struct { type ResourceQuotaStatus struct { ResourceQuotaSpec `json:",inline"` - Result QuotaResult `json:"result"` + Status QuotaStatus `json:"quotaStatus"` + // Used is the current observed total usage of the resource in the namespace. // +optional Used core.ResourceList `json:"used,omitempty"` } +type QuotaStatus struct { + Result QuotaResult `json:"result"` + Reason string `json:"reason,omitempty"` +} + // +kubebuilder:validation:Enum=Success;Error type QuotaResult string