From 005e783d39932315f9b7fab00cdec257eba0314a Mon Sep 17 00:00:00 2001 From: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> Date: Fri, 26 Jul 2024 23:10:53 -0700 Subject: [PATCH] Mark some fields as deprecated Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com> --- pkg/apis/minio.min.io/v2/types.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/apis/minio.min.io/v2/types.go b/pkg/apis/minio.min.io/v2/types.go index 89d8d91a464..d1e8b939dcf 100644 --- a/pkg/apis/minio.min.io/v2/types.go +++ b/pkg/apis/minio.min.io/v2/types.go @@ -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* + // @@ -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"` }