Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark fields as deprecated #2246

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Mark some fields as deprecated
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
  • Loading branch information
dvaldivia committed Jul 27, 2024
commit 005e783d39932315f9b7fab00cdec257eba0314a
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
Loading