Skip to content

Commit

Permalink
Mark some fields as deprecated
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Valdivia <[email protected]>
  • Loading branch information
dvaldivia committed Jul 27, 2024
1 parent 54be9cb commit 005e783
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/apis/minio.min.io/v2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,13 @@ type TenantSpec struct {
//
// The Operator creates each user with the `consoleAdmin` policy by default. You can change the assigned policy after the Tenant starts. +
// +optional
// +deprecated
Users []corev1.LocalObjectReference `json:"users,omitempty"`
// *Optional* +
//
// Create buckets when creating a new tenant. Skip if bucket with given name already exists
// +optional
// +deprecated
Buckets []Bucket `json:"buckets,omitempty"`
// *Optional* +
//
Expand Down Expand Up @@ -539,13 +541,15 @@ type TenantStatus struct {
//
// Information about tenant usage
Usage TenantUsage `json:"usage,omitempty"`
// Health Message regarding the State of the tenant

// ProvisionedUsers keeps track for telling if operator already created initial users for the tenant
// +deprecated
ProvisionedUsers bool `json:"provisionedUsers,omitempty"`
// *Optional* +
//
// Health Message regarding the State of the tenant
// ProvisionedBuckets keeps track for telling if operator already created initial buckets for the tenant
// +deprecated
ProvisionedBuckets bool `json:"provisionedBuckets,omitempty"`
}

Expand Down

0 comments on commit 005e783

Please sign in to comment.