From 7e3752726bb52bbd29076ecfd85d67d996e6e611 Mon Sep 17 00:00:00 2001 From: pjuarezd Date: Fri, 21 Jun 2024 10:50:54 -0700 Subject: [PATCH 1/2] update generated code make generate-code make regen-crd make regen-crd-docs Signed-off-by: pjuarezd --- docs/job_crd.adoc | 65 +++++++++++++++- docs/policybinding_crd.adoc | 59 +++++++++++--- docs/tenant_crd.adoc | 6 +- .../v1alpha1/zz_generated.deepcopy.go | 47 ++++++++++- .../minio.min.io/v2/zz_generated.deepcopy.go | 2 +- .../v1alpha1/zz_generated.deepcopy.go | 2 +- .../v1beta1/zz_generated.deepcopy.go | 2 +- .../applyconfiguration/internal/internal.go | 2 +- .../job.min.io/v1alpha1/commandspec.go | 78 +++++++++++++++++-- .../job.min.io/v1alpha1/commandstatus.go | 2 +- .../job.min.io/v1alpha1/miniojob.go | 2 +- .../job.min.io/v1alpha1/miniojobspec.go | 33 ++++++-- .../job.min.io/v1alpha1/miniojobstatus.go | 2 +- .../job.min.io/v1alpha1/tenantref.go | 2 +- .../minio.min.io/v2/bucket.go | 2 +- .../minio.min.io/v2/certificateconfig.go | 2 +- .../minio.min.io/v2/certificatestatus.go | 2 +- .../v2/customcertificateconfig.go | 2 +- .../minio.min.io/v2/customcertificates.go | 2 +- .../minio.min.io/v2/exposeservices.go | 2 +- .../minio.min.io/v2/features.go | 2 +- .../minio.min.io/v2/kesconfig.go | 2 +- .../v2/localcertificatereference.go | 2 +- .../minio.min.io/v2/logging.go | 2 +- .../minio.min.io/v2/pool.go | 2 +- .../minio.min.io/v2/poolstatus.go | 2 +- .../minio.min.io/v2/servicemetadata.go | 2 +- .../minio.min.io/v2/sidecars.go | 2 +- .../minio.min.io/v2/tenant.go | 2 +- .../minio.min.io/v2/tenantdomains.go | 2 +- .../minio.min.io/v2/tenantscheduler.go | 2 +- .../minio.min.io/v2/tenantspec.go | 2 +- .../minio.min.io/v2/tenantstatus.go | 2 +- .../minio.min.io/v2/tenantusage.go | 2 +- .../minio.min.io/v2/tierusage.go | 2 +- .../sts.min.io/v1alpha1/application.go | 2 +- .../sts.min.io/v1alpha1/policybinding.go | 2 +- .../sts.min.io/v1alpha1/policybindingspec.go | 2 +- .../v1alpha1/policybindingstatus.go | 2 +- .../sts.min.io/v1alpha1/policybindingusage.go | 2 +- .../sts.min.io/v1beta1/application.go | 2 +- .../sts.min.io/v1beta1/policybinding.go | 2 +- .../sts.min.io/v1beta1/policybindingspec.go | 2 +- .../sts.min.io/v1beta1/policybindingstatus.go | 2 +- .../sts.min.io/v1beta1/policybindingusage.go | 2 +- pkg/client/applyconfiguration/utils.go | 2 +- pkg/client/clientset/versioned/clientset.go | 2 +- .../versioned/fake/clientset_generated.go | 2 +- pkg/client/clientset/versioned/fake/doc.go | 2 +- .../clientset/versioned/fake/register.go | 2 +- pkg/client/clientset/versioned/scheme/doc.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../typed/job.min.io/v1alpha1/doc.go | 2 +- .../typed/job.min.io/v1alpha1/fake/doc.go | 2 +- .../v1alpha1/fake/fake_job.min.io_client.go | 2 +- .../job.min.io/v1alpha1/fake/fake_miniojob.go | 2 +- .../v1alpha1/generated_expansion.go | 2 +- .../job.min.io/v1alpha1/job.min.io_client.go | 2 +- .../typed/job.min.io/v1alpha1/miniojob.go | 2 +- .../versioned/typed/minio.min.io/v2/doc.go | 2 +- .../typed/minio.min.io/v2/fake/doc.go | 2 +- .../v2/fake/fake_minio.min.io_client.go | 2 +- .../typed/minio.min.io/v2/fake/fake_tenant.go | 2 +- .../minio.min.io/v2/generated_expansion.go | 2 +- .../minio.min.io/v2/minio.min.io_client.go | 2 +- .../versioned/typed/minio.min.io/v2/tenant.go | 2 +- .../typed/sts.min.io/v1alpha1/doc.go | 2 +- .../typed/sts.min.io/v1alpha1/fake/doc.go | 2 +- .../v1alpha1/fake/fake_policybinding.go | 2 +- .../v1alpha1/fake/fake_sts.min.io_client.go | 2 +- .../v1alpha1/generated_expansion.go | 2 +- .../sts.min.io/v1alpha1/policybinding.go | 2 +- .../sts.min.io/v1alpha1/sts.min.io_client.go | 2 +- .../versioned/typed/sts.min.io/v1beta1/doc.go | 2 +- .../typed/sts.min.io/v1beta1/fake/doc.go | 2 +- .../v1beta1/fake/fake_policybinding.go | 2 +- .../v1beta1/fake/fake_sts.min.io_client.go | 2 +- .../sts.min.io/v1beta1/generated_expansion.go | 2 +- .../typed/sts.min.io/v1beta1/policybinding.go | 2 +- .../sts.min.io/v1beta1/sts.min.io_client.go | 2 +- .../informers/externalversions/factory.go | 2 +- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../externalversions/job.min.io/interface.go | 2 +- .../job.min.io/v1alpha1/interface.go | 2 +- .../job.min.io/v1alpha1/miniojob.go | 2 +- .../minio.min.io/interface.go | 2 +- .../minio.min.io/v2/interface.go | 2 +- .../minio.min.io/v2/tenant.go | 2 +- .../externalversions/sts.min.io/interface.go | 2 +- .../sts.min.io/v1alpha1/interface.go | 2 +- .../sts.min.io/v1alpha1/policybinding.go | 2 +- .../sts.min.io/v1beta1/interface.go | 2 +- .../sts.min.io/v1beta1/policybinding.go | 2 +- .../v1alpha1/expansion_generated.go | 2 +- .../listers/job.min.io/v1alpha1/miniojob.go | 2 +- .../minio.min.io/v2/expansion_generated.go | 2 +- pkg/client/listers/minio.min.io/v2/tenant.go | 2 +- .../v1alpha1/expansion_generated.go | 2 +- .../sts.min.io/v1alpha1/policybinding.go | 2 +- .../sts.min.io/v1beta1/expansion_generated.go | 2 +- .../sts.min.io/v1beta1/policybinding.go | 2 +- 102 files changed, 353 insertions(+), 127 deletions(-) diff --git a/docs/job_crd.adoc b/docs/job_crd.adoc index ea3717553b4..d0ca4c425da 100644 --- a/docs/job_crd.adoc +++ b/docs/job_crd.adoc @@ -4,8 +4,8 @@ [id="{p}-api-reference"] == API Reference -:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-03-15T01-07-19Z] -:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-03-13T17-52-13Z] +:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-05-01T01-11-10Z] +:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-04-12T13-50-00Z] [id="{anchor_prefix}-job-min-io-v1alpha1"] @@ -43,9 +43,37 @@ Operation is the MinioClient Action |*`args`* __object (keys:string, values:string)__ |Args Arguments to pass to the action +|*`command`* __string array__ +|Command Execute All User-Defined Commands + |*`dependsOn`* __string array__ |DependsOn List of named `command` in this MinioJob that have to be scheduled and executed before this command runs +|*`resources`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#resourcerequirements-v1-core[$$ResourceRequirements$$]__ +|Compute Resources required by this container. +Cannot be updated. +More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ + +|*`envFrom`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#envfromsource-v1-core[$$EnvFromSource$$] array__ +|List of sources to populate environment variables in the container. +The keys defined within a source must be a C_IDENTIFIER. All invalid keys +will be reported as an event when the container is starting. When a key exists in multiple +sources, the value associated with the last source will take precedence. +Values defined by an Env with a duplicate key will take precedence. +Cannot be updated. + +|*`env`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#envvar-v1-core[$$EnvVar$$] array__ +|List of environment variables to set in the container. +Cannot be updated. + +|*`volumeMounts`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#volumemount-v1-core[$$VolumeMount$$] array__ +|Pod volumes to mount into the container's filesystem. +Cannot be updated. + +|*`volumes`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#volume-v1-core[$$Volume$$] array__ +|List of volumes that can be mounted by containers belonging to the pod. +More info: https://kubernetes.io/docs/concepts/storage/volumes + |=== @@ -171,6 +199,39 @@ Commands List of MinioClient commands |*`mcImage`* __string__ |mc job image +|*`securityContext`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#podsecuritycontext-v1-core[$$PodSecurityContext$$]__ +|*Optional* + + + +Specify the https://kubernetes.io/docs/tasks/configure-pod-container/security-context/[Security Context] of pods in the pool. The Operator supports only the following pod security fields: + + + +* `fsGroup` + + + +* `fsGroupChangePolicy` + + + +* `runAsGroup` + + + +* `runAsNonRoot` + + + +* `runAsUser` + + +|*`containerSecurityContext`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#securitycontext-v1-core[$$SecurityContext$$]__ +|Specify the https://kubernetes.io/docs/tasks/configure-pod-container/security-context/[Security Context] of containers in the pool. The Operator supports only the following container security fields: + + + +* `runAsGroup` + + + +* `runAsNonRoot` + + + +* `runAsUser` + + |=== diff --git a/docs/policybinding_crd.adoc b/docs/policybinding_crd.adoc index 8f29bd960f7..2a913b3a8b2 100644 --- a/docs/policybinding_crd.adoc +++ b/docs/policybinding_crd.adoc @@ -8,25 +8,29 @@ :kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-04-12T13-50-00Z] -[id="{anchor_prefix}-sts-min-io-v1alpha1"] +[id="{anchor_prefix}-sts-min-io-v1beta1"] === sts.min.io/v1beta1 -Package v1beta1 - The following parameters are specific to the `sts.min.io/v1beta1` MinIO Policy Binding CRD API +Package v1beta1 - The following parameters are specific to the `sts.min.io/vv1beta1` MinIO Policy Binding CRD API PolicyBinding is an Authorization mechanism managed by the Minio Operator. Using Kubernetes ServiceAccount JSON Web Tokens the binding allow a ServiceAccount to assume temporary IAM credentials. For more complete documentation on this object, see the https://docs.min.io/minio/k8s/reference/minio-operator-reference.html#minio-operator-yaml-reference[MinIO Kubernetes Documentation]. PolicyBinding is added as part of the MinIO Operator v5.0.0. + +.Resource Types +- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybinding[$$PolicyBinding$$] +- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindinglist[$$PolicyBindingList$$] -[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-application"] + +[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-application"] ==== Application Application defines the `Namespace` and `ServiceAccount` to authorize the usage of the policies listed .Appears In: **** -- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingspec[$$PolicyBindingSpec$$] +- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingspec[$$PolicyBindingSpec$$] **** [cols="25a,75a", options="header"] @@ -42,25 +46,31 @@ Application defines the `Namespace` and `ServiceAccount` to authorize the usage |=== -[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybinding"] +[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybinding"] ==== PolicyBinding PolicyBinding is a https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/[Kubernetes object] describing a MinIO PolicyBinding. .Appears In: **** -- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindinglist[$$PolicyBindingList$$] +- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindinglist[$$PolicyBindingList$$] **** [cols="25a,75a", options="header"] |=== | Field | Description +|*`apiVersion`* __string__ +|`sts.min.io/v1beta1` + +|*`kind`* __string__ +|`PolicyBinding` + |*`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#objectmeta-v1-meta[$$ObjectMeta$$]__ |Refer to Kubernetes API documentation for fields of `metadata`. -|*`spec`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingspec[$$PolicyBindingSpec$$]__ +|*`spec`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingspec[$$PolicyBindingSpec$$]__ |*Required* + @@ -69,23 +79,48 @@ The root field for the MinIO PolicyBinding object. |=== +[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindinglist"] +==== PolicyBindingList + +PolicyBindingList is a list of PolicyBinding resources + + + +[cols="25a,75a", options="header"] +|=== +| Field | Description + +|*`apiVersion`* __string__ +|`sts.min.io/v1beta1` + +|*`kind`* __string__ +|`PolicyBindingList` + +|*`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__ +|Refer to Kubernetes API documentation for fields of `metadata`. + + +|*`items`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybinding[$$PolicyBinding$$] array__ +| + +|=== -[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingspec"] +[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingspec"] ==== PolicyBindingSpec PolicyBindingSpec (`spec`) defines the configuration of a MinIO PolicyBinding object. + .Appears In: **** -- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybinding[$$PolicyBinding$$] +- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybinding[$$PolicyBinding$$] **** [cols="25a,75a", options="header"] |=== | Field | Description -|*`application`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-application[$$Application$$]__ +|*`application`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-application[$$Application$$]__ |*Required* + @@ -99,14 +134,14 @@ The Application Property identifies the namespace and service account that will -[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingusage"] +[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingusage"] ==== PolicyBindingUsage PolicyBindingUsage are metrics regarding the usage of the policyBinding .Appears In: **** -- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingstatus[$$PolicyBindingStatus$$] +- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingstatus[$$PolicyBindingStatus$$] **** [cols="25a,75a", options="header"] diff --git a/docs/tenant_crd.adoc b/docs/tenant_crd.adoc index 51e52b759eb..2663a750398 100644 --- a/docs/tenant_crd.adoc +++ b/docs/tenant_crd.adoc @@ -364,13 +364,13 @@ Specify an object containing the following fields: + |*Optional* + -Specify the GCP default credentials to be used for KES to authenticate to GCP key store + Specify the GCP default credentials to be used for KES to authenticate to GCP key store |*`gcpWorkloadIdentityPool`* __string__ |*Optional* + -Specify the name of the workload identity pool (This is required for generating service account token) + Specify the name of the workload identity pool (This is required for generating service account token) |*`annotations`* __object (keys:string, values:string)__ |*Optional* + @@ -531,8 +531,6 @@ See the https://min.io/docs/minio/kubernetes/upstream/operations/install-deploy- |*`name`* __string__ |*Required* - - Specify the name of the pool. The Operator automatically generates the pool name if this field is omitted. |*`servers`* __integer__ diff --git a/pkg/apis/job.min.io/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/job.min.io/v1alpha1/zz_generated.deepcopy.go index 2294b2d2bfc..7bda947cdc8 100644 --- a/pkg/apis/job.min.io/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/job.min.io/v1alpha1/zz_generated.deepcopy.go @@ -2,7 +2,7 @@ // +build !ignore_autogenerated // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -22,6 +22,7 @@ package v1alpha1 import ( + v1 "k8s.io/api/core/v1" runtime "k8s.io/apimachinery/pkg/runtime" ) @@ -35,11 +36,45 @@ func (in *CommandSpec) DeepCopyInto(out *CommandSpec) { (*out)[key] = val } } + if in.Command != nil { + in, out := &in.Command, &out.Command + *out = make([]string, len(*in)) + copy(*out, *in) + } if in.DependsOn != nil { in, out := &in.DependsOn, &out.DependsOn *out = make([]string, len(*in)) copy(*out, *in) } + in.Resources.DeepCopyInto(&out.Resources) + if in.EnvFrom != nil { + in, out := &in.EnvFrom, &out.EnvFrom + *out = make([]v1.EnvFromSource, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Env != nil { + in, out := &in.Env, &out.Env + *out = make([]v1.EnvVar, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.VolumeMounts != nil { + in, out := &in.VolumeMounts, &out.VolumeMounts + *out = make([]v1.VolumeMount, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Volumes != nil { + in, out := &in.Volumes, &out.Volumes + *out = make([]v1.Volume, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } return } @@ -141,6 +176,16 @@ func (in *MinIOJobSpec) DeepCopyInto(out *MinIOJobSpec) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.SecurityContext != nil { + in, out := &in.SecurityContext, &out.SecurityContext + *out = new(v1.PodSecurityContext) + (*in).DeepCopyInto(*out) + } + if in.ContainerSecurityContext != nil { + in, out := &in.ContainerSecurityContext, &out.ContainerSecurityContext + *out = new(v1.SecurityContext) + (*in).DeepCopyInto(*out) + } return } diff --git a/pkg/apis/minio.min.io/v2/zz_generated.deepcopy.go b/pkg/apis/minio.min.io/v2/zz_generated.deepcopy.go index da456405467..2d9a4d45f0d 100644 --- a/pkg/apis/minio.min.io/v2/zz_generated.deepcopy.go +++ b/pkg/apis/minio.min.io/v2/zz_generated.deepcopy.go @@ -2,7 +2,7 @@ // +build !ignore_autogenerated // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/apis/sts.min.io/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/sts.min.io/v1alpha1/zz_generated.deepcopy.go index 5dce41962f4..1c6f151f3aa 100644 --- a/pkg/apis/sts.min.io/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/sts.min.io/v1alpha1/zz_generated.deepcopy.go @@ -2,7 +2,7 @@ // +build !ignore_autogenerated // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/apis/sts.min.io/v1beta1/zz_generated.deepcopy.go b/pkg/apis/sts.min.io/v1beta1/zz_generated.deepcopy.go index 7c1d2e46736..fe05ea03f10 100644 --- a/pkg/apis/sts.min.io/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/sts.min.io/v1beta1/zz_generated.deepcopy.go @@ -2,7 +2,7 @@ // +build !ignore_autogenerated // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/internal/internal.go b/pkg/client/applyconfiguration/internal/internal.go index 3e6cc682dfe..23912394310 100644 --- a/pkg/client/applyconfiguration/internal/internal.go +++ b/pkg/client/applyconfiguration/internal/internal.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/job.min.io/v1alpha1/commandspec.go b/pkg/client/applyconfiguration/job.min.io/v1alpha1/commandspec.go index e52a28de971..0b9ae4923c9 100644 --- a/pkg/client/applyconfiguration/job.min.io/v1alpha1/commandspec.go +++ b/pkg/client/applyconfiguration/job.min.io/v1alpha1/commandspec.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -18,13 +18,23 @@ package v1alpha1 +import ( + v1 "k8s.io/api/core/v1" +) + // CommandSpecApplyConfiguration represents an declarative configuration of the CommandSpec type for use // with apply. type CommandSpecApplyConfiguration struct { - Operation *string `json:"op,omitempty"` - Name *string `json:"name,omitempty"` - Args map[string]string `json:"args,omitempty"` - DependsOn []string `json:"dependsOn,omitempty"` + Operation *string `json:"op,omitempty"` + Name *string `json:"name,omitempty"` + Args map[string]string `json:"args,omitempty"` + Command []string `json:"command,omitempty"` + DependsOn []string `json:"dependsOn,omitempty"` + Resources *v1.ResourceRequirements `json:"resources,omitempty"` + EnvFrom []v1.EnvFromSource `json:"envFrom,omitempty"` + Env []v1.EnvVar `json:"env,omitempty"` + VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty"` + Volumes []v1.Volume `json:"volumes,omitempty"` } // CommandSpecApplyConfiguration constructs an declarative configuration of the CommandSpec type for use with @@ -63,6 +73,16 @@ func (b *CommandSpecApplyConfiguration) WithArgs(entries map[string]string) *Com return b } +// WithCommand adds the given value to the Command field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Command field. +func (b *CommandSpecApplyConfiguration) WithCommand(values ...string) *CommandSpecApplyConfiguration { + for i := range values { + b.Command = append(b.Command, values[i]) + } + return b +} + // WithDependsOn adds the given value to the DependsOn field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the DependsOn field. @@ -72,3 +92,51 @@ func (b *CommandSpecApplyConfiguration) WithDependsOn(values ...string) *Command } return b } + +// WithResources sets the Resources field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Resources field is set to the value of the last call. +func (b *CommandSpecApplyConfiguration) WithResources(value v1.ResourceRequirements) *CommandSpecApplyConfiguration { + b.Resources = &value + return b +} + +// WithEnvFrom adds the given value to the EnvFrom field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the EnvFrom field. +func (b *CommandSpecApplyConfiguration) WithEnvFrom(values ...v1.EnvFromSource) *CommandSpecApplyConfiguration { + for i := range values { + b.EnvFrom = append(b.EnvFrom, values[i]) + } + return b +} + +// WithEnv adds the given value to the Env field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Env field. +func (b *CommandSpecApplyConfiguration) WithEnv(values ...v1.EnvVar) *CommandSpecApplyConfiguration { + for i := range values { + b.Env = append(b.Env, values[i]) + } + return b +} + +// WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the VolumeMounts field. +func (b *CommandSpecApplyConfiguration) WithVolumeMounts(values ...v1.VolumeMount) *CommandSpecApplyConfiguration { + for i := range values { + b.VolumeMounts = append(b.VolumeMounts, values[i]) + } + return b +} + +// WithVolumes adds the given value to the Volumes field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Volumes field. +func (b *CommandSpecApplyConfiguration) WithVolumes(values ...v1.Volume) *CommandSpecApplyConfiguration { + for i := range values { + b.Volumes = append(b.Volumes, values[i]) + } + return b +} diff --git a/pkg/client/applyconfiguration/job.min.io/v1alpha1/commandstatus.go b/pkg/client/applyconfiguration/job.min.io/v1alpha1/commandstatus.go index 460713b5660..6513f2394f3 100644 --- a/pkg/client/applyconfiguration/job.min.io/v1alpha1/commandstatus.go +++ b/pkg/client/applyconfiguration/job.min.io/v1alpha1/commandstatus.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojob.go b/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojob.go index 51d4aaa84f9..fd3e5f46f1a 100644 --- a/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojob.go +++ b/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojob.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojobspec.go b/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojobspec.go index b5101c99fb0..f429799e2e6 100644 --- a/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojobspec.go +++ b/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojobspec.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -20,17 +20,20 @@ package v1alpha1 import ( jobminiov1alpha1 "github.com/minio/operator/pkg/apis/job.min.io/v1alpha1" + v1 "k8s.io/api/core/v1" ) // MinIOJobSpecApplyConfiguration represents an declarative configuration of the MinIOJobSpec type for use // with apply. type MinIOJobSpecApplyConfiguration struct { - ServiceAccountName *string `json:"serviceAccountName,omitempty"` - TenantRef *TenantRefApplyConfiguration `json:"tenant,omitempty"` - Execution *jobminiov1alpha1.Execution `json:"execution,omitempty"` - FailureStrategy *jobminiov1alpha1.FailureStrategy `json:"failureStrategy,omitempty"` - Commands []CommandSpecApplyConfiguration `json:"commands,omitempty"` - MCImage *string `json:"mcImage,omitempty"` + ServiceAccountName *string `json:"serviceAccountName,omitempty"` + TenantRef *TenantRefApplyConfiguration `json:"tenant,omitempty"` + Execution *jobminiov1alpha1.Execution `json:"execution,omitempty"` + FailureStrategy *jobminiov1alpha1.FailureStrategy `json:"failureStrategy,omitempty"` + Commands []CommandSpecApplyConfiguration `json:"commands,omitempty"` + MCImage *string `json:"mcImage,omitempty"` + SecurityContext *v1.PodSecurityContext `json:"securityContext,omitempty"` + ContainerSecurityContext *v1.SecurityContext `json:"containerSecurityContext,omitempty"` } // MinIOJobSpecApplyConfiguration constructs an declarative configuration of the MinIOJobSpec type for use with @@ -91,3 +94,19 @@ func (b *MinIOJobSpecApplyConfiguration) WithMCImage(value string) *MinIOJobSpec b.MCImage = &value return b } + +// WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the SecurityContext field is set to the value of the last call. +func (b *MinIOJobSpecApplyConfiguration) WithSecurityContext(value v1.PodSecurityContext) *MinIOJobSpecApplyConfiguration { + b.SecurityContext = &value + return b +} + +// WithContainerSecurityContext sets the ContainerSecurityContext field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ContainerSecurityContext field is set to the value of the last call. +func (b *MinIOJobSpecApplyConfiguration) WithContainerSecurityContext(value v1.SecurityContext) *MinIOJobSpecApplyConfiguration { + b.ContainerSecurityContext = &value + return b +} diff --git a/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojobstatus.go b/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojobstatus.go index 9518387b464..77f86f7aeca 100644 --- a/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojobstatus.go +++ b/pkg/client/applyconfiguration/job.min.io/v1alpha1/miniojobstatus.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/job.min.io/v1alpha1/tenantref.go b/pkg/client/applyconfiguration/job.min.io/v1alpha1/tenantref.go index 35f7eab4487..be69e6c184e 100644 --- a/pkg/client/applyconfiguration/job.min.io/v1alpha1/tenantref.go +++ b/pkg/client/applyconfiguration/job.min.io/v1alpha1/tenantref.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/bucket.go b/pkg/client/applyconfiguration/minio.min.io/v2/bucket.go index fdb26667dce..6ab692a33ad 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/bucket.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/bucket.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/certificateconfig.go b/pkg/client/applyconfiguration/minio.min.io/v2/certificateconfig.go index 272a19ea38f..2116c0039b1 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/certificateconfig.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/certificateconfig.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/certificatestatus.go b/pkg/client/applyconfiguration/minio.min.io/v2/certificatestatus.go index efbd929ff69..beae2039146 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/certificatestatus.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/certificatestatus.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/customcertificateconfig.go b/pkg/client/applyconfiguration/minio.min.io/v2/customcertificateconfig.go index e3a09487c21..e4638b913b2 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/customcertificateconfig.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/customcertificateconfig.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/customcertificates.go b/pkg/client/applyconfiguration/minio.min.io/v2/customcertificates.go index 08a64f20395..fdce47b53f7 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/customcertificates.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/customcertificates.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/exposeservices.go b/pkg/client/applyconfiguration/minio.min.io/v2/exposeservices.go index 6aa22504c7f..56ae87889a5 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/exposeservices.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/exposeservices.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/features.go b/pkg/client/applyconfiguration/minio.min.io/v2/features.go index 0d3bb3c1db6..386b484ce14 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/features.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/features.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/kesconfig.go b/pkg/client/applyconfiguration/minio.min.io/v2/kesconfig.go index c9b4ce7b83c..888adaaf9fb 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/kesconfig.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/kesconfig.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/localcertificatereference.go b/pkg/client/applyconfiguration/minio.min.io/v2/localcertificatereference.go index e6ddf162935..ec9592c99b0 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/localcertificatereference.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/localcertificatereference.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/logging.go b/pkg/client/applyconfiguration/minio.min.io/v2/logging.go index 8367044a677..a5d059a1a1e 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/logging.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/logging.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/pool.go b/pkg/client/applyconfiguration/minio.min.io/v2/pool.go index 61d1e389986..abf61af17f9 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/pool.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/pool.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/poolstatus.go b/pkg/client/applyconfiguration/minio.min.io/v2/poolstatus.go index c663c74be02..881c0599054 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/poolstatus.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/poolstatus.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/servicemetadata.go b/pkg/client/applyconfiguration/minio.min.io/v2/servicemetadata.go index 4d60a73fae1..c1a30275ee4 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/servicemetadata.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/servicemetadata.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/sidecars.go b/pkg/client/applyconfiguration/minio.min.io/v2/sidecars.go index cbc92e64c18..1849d49216b 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/sidecars.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/sidecars.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/tenant.go b/pkg/client/applyconfiguration/minio.min.io/v2/tenant.go index 94901c07aec..afd1c57cec2 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/tenant.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/tenant.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/tenantdomains.go b/pkg/client/applyconfiguration/minio.min.io/v2/tenantdomains.go index a0caeb49780..c2525e92a1b 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/tenantdomains.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/tenantdomains.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/tenantscheduler.go b/pkg/client/applyconfiguration/minio.min.io/v2/tenantscheduler.go index ab1b74a073f..b2d240610b5 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/tenantscheduler.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/tenantscheduler.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/tenantspec.go b/pkg/client/applyconfiguration/minio.min.io/v2/tenantspec.go index 24877a4bf48..c28efcb4fcf 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/tenantspec.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/tenantspec.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/tenantstatus.go b/pkg/client/applyconfiguration/minio.min.io/v2/tenantstatus.go index 825333518c3..d017570e919 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/tenantstatus.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/tenantstatus.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/tenantusage.go b/pkg/client/applyconfiguration/minio.min.io/v2/tenantusage.go index 0048bdfb355..6a96cdf3a5a 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/tenantusage.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/tenantusage.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/minio.min.io/v2/tierusage.go b/pkg/client/applyconfiguration/minio.min.io/v2/tierusage.go index d76fdd73bb6..84dcffc1190 100644 --- a/pkg/client/applyconfiguration/minio.min.io/v2/tierusage.go +++ b/pkg/client/applyconfiguration/minio.min.io/v2/tierusage.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/application.go b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/application.go index 65edc593941..81cab258a6e 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/application.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/application.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybinding.go b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybinding.go index 7ec3e5f80c8..446d2ab2c38 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybinding.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingspec.go b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingspec.go index f10cfa65136..c870a8bc787 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingspec.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingspec.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingstatus.go b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingstatus.go index 0609e29e7c0..121047337b0 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingstatus.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingstatus.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingusage.go b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingusage.go index 83c4ab833f5..3973186f7e4 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingusage.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1alpha1/policybindingusage.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1beta1/application.go b/pkg/client/applyconfiguration/sts.min.io/v1beta1/application.go index d81b8a37ff0..be14c2e74e2 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1beta1/application.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1beta1/application.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybinding.go b/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybinding.go index f5c5587641e..f597b79842f 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybinding.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingspec.go b/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingspec.go index be02e40f1b5..b72dd0fd6ae 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingspec.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingspec.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingstatus.go b/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingstatus.go index b703ae2a1c6..9043171535c 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingstatus.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingstatus.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingusage.go b/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingusage.go index e25e4c44360..1de3b632d44 100644 --- a/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingusage.go +++ b/pkg/client/applyconfiguration/sts.min.io/v1beta1/policybindingusage.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/applyconfiguration/utils.go b/pkg/client/applyconfiguration/utils.go index df8d4a6d5d8..1dd2f545ea7 100644 --- a/pkg/client/applyconfiguration/utils.go +++ b/pkg/client/applyconfiguration/utils.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/clientset.go b/pkg/client/clientset/versioned/clientset.go index 7add49efb58..fc6929e3ba0 100644 --- a/pkg/client/clientset/versioned/clientset.go +++ b/pkg/client/clientset/versioned/clientset.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/fake/clientset_generated.go b/pkg/client/clientset/versioned/fake/clientset_generated.go index 8c1a6ade50b..77bd26d8b97 100644 --- a/pkg/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/client/clientset/versioned/fake/clientset_generated.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/fake/doc.go b/pkg/client/clientset/versioned/fake/doc.go index 6daa1fd810d..d7b181356dc 100644 --- a/pkg/client/clientset/versioned/fake/doc.go +++ b/pkg/client/clientset/versioned/fake/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/fake/register.go b/pkg/client/clientset/versioned/fake/register.go index 197fd788beb..a16b9b7bcb5 100644 --- a/pkg/client/clientset/versioned/fake/register.go +++ b/pkg/client/clientset/versioned/fake/register.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/scheme/doc.go b/pkg/client/clientset/versioned/scheme/doc.go index f4572920d22..e1e1efe3d9c 100644 --- a/pkg/client/clientset/versioned/scheme/doc.go +++ b/pkg/client/clientset/versioned/scheme/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/scheme/register.go b/pkg/client/clientset/versioned/scheme/register.go index 5bc973e9528..315169d2ae1 100644 --- a/pkg/client/clientset/versioned/scheme/register.go +++ b/pkg/client/clientset/versioned/scheme/register.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/doc.go b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/doc.go index 3b4480b44f7..02387217b31 100644 --- a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/doc.go +++ b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/doc.go b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/doc.go index 85a59559240..dfb88f23596 100644 --- a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/fake_job.min.io_client.go b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/fake_job.min.io_client.go index 1a3ab4f3ec9..d2b30ccd379 100644 --- a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/fake_job.min.io_client.go +++ b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/fake_job.min.io_client.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/fake_miniojob.go b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/fake_miniojob.go index d92f5fe647a..47f4cb0fe94 100644 --- a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/fake_miniojob.go +++ b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/fake/fake_miniojob.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/generated_expansion.go b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/generated_expansion.go index cb17df7446d..273dc418805 100644 --- a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/job.min.io_client.go b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/job.min.io_client.go index d5c5486d31f..54ce1cec604 100644 --- a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/job.min.io_client.go +++ b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/job.min.io_client.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/miniojob.go b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/miniojob.go index 24cd4e53fc9..50d564b03e6 100644 --- a/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/miniojob.go +++ b/pkg/client/clientset/versioned/typed/job.min.io/v1alpha1/miniojob.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/minio.min.io/v2/doc.go b/pkg/client/clientset/versioned/typed/minio.min.io/v2/doc.go index 3aba29f3aca..249a6b0295d 100644 --- a/pkg/client/clientset/versioned/typed/minio.min.io/v2/doc.go +++ b/pkg/client/clientset/versioned/typed/minio.min.io/v2/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/doc.go b/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/doc.go index 85a59559240..dfb88f23596 100644 --- a/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/fake_minio.min.io_client.go b/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/fake_minio.min.io_client.go index ab7b435cb56..214ae481a0f 100644 --- a/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/fake_minio.min.io_client.go +++ b/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/fake_minio.min.io_client.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/fake_tenant.go b/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/fake_tenant.go index f326006187a..f3c808f50a5 100644 --- a/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/fake_tenant.go +++ b/pkg/client/clientset/versioned/typed/minio.min.io/v2/fake/fake_tenant.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/minio.min.io/v2/generated_expansion.go b/pkg/client/clientset/versioned/typed/minio.min.io/v2/generated_expansion.go index 172fdf814cf..cb748f24e9f 100644 --- a/pkg/client/clientset/versioned/typed/minio.min.io/v2/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/minio.min.io/v2/generated_expansion.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/minio.min.io/v2/minio.min.io_client.go b/pkg/client/clientset/versioned/typed/minio.min.io/v2/minio.min.io_client.go index ed3adc2fb63..69d0de372dd 100644 --- a/pkg/client/clientset/versioned/typed/minio.min.io/v2/minio.min.io_client.go +++ b/pkg/client/clientset/versioned/typed/minio.min.io/v2/minio.min.io_client.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/minio.min.io/v2/tenant.go b/pkg/client/clientset/versioned/typed/minio.min.io/v2/tenant.go index c29edd84d55..a4bf31ff81a 100644 --- a/pkg/client/clientset/versioned/typed/minio.min.io/v2/tenant.go +++ b/pkg/client/clientset/versioned/typed/minio.min.io/v2/tenant.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/doc.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/doc.go index 3b4480b44f7..02387217b31 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/doc.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/doc.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/doc.go index 85a59559240..dfb88f23596 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/fake_policybinding.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/fake_policybinding.go index 8e1d8af1951..dd69167bae7 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/fake_policybinding.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/fake_policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/fake_sts.min.io_client.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/fake_sts.min.io_client.go index 6dfbf04e746..0feb086f203 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/fake_sts.min.io_client.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/fake/fake_sts.min.io_client.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/generated_expansion.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/generated_expansion.go index 7b1409ae353..63f91d401de 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/generated_expansion.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/policybinding.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/policybinding.go index f326bf16f31..e4b37b3b33e 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/policybinding.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/sts.min.io_client.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/sts.min.io_client.go index 413dde10f54..630ded7fec4 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/sts.min.io_client.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1alpha1/sts.min.io_client.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/doc.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/doc.go index 781d84d233e..ee58a9febfb 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/doc.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/doc.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/doc.go index 85a59559240..dfb88f23596 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/doc.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/doc.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/fake_policybinding.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/fake_policybinding.go index 77403b65326..61fd7a49ed8 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/fake_policybinding.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/fake_policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/fake_sts.min.io_client.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/fake_sts.min.io_client.go index ec5ac3c2fd2..03173a07c79 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/fake_sts.min.io_client.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/fake/fake_sts.min.io_client.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/generated_expansion.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/generated_expansion.go index ec4985dc410..08a651138c1 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/generated_expansion.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/generated_expansion.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/policybinding.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/policybinding.go index 10e8deb4276..6738d72ce22 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/policybinding.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/sts.min.io_client.go b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/sts.min.io_client.go index 96bc9d28435..a278d6a2072 100644 --- a/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/sts.min.io_client.go +++ b/pkg/client/clientset/versioned/typed/sts.min.io/v1beta1/sts.min.io_client.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/factory.go b/pkg/client/informers/externalversions/factory.go index f099bdc7f9e..ef0d992b62f 100644 --- a/pkg/client/informers/externalversions/factory.go +++ b/pkg/client/informers/externalversions/factory.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/generic.go b/pkg/client/informers/externalversions/generic.go index 0fa9370ba17..1a373236219 100644 --- a/pkg/client/informers/externalversions/generic.go +++ b/pkg/client/informers/externalversions/generic.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 2486e2ceba0..a32ef866e26 100644 --- a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/job.min.io/interface.go b/pkg/client/informers/externalversions/job.min.io/interface.go index cc73f45577e..36fcfc2203c 100644 --- a/pkg/client/informers/externalversions/job.min.io/interface.go +++ b/pkg/client/informers/externalversions/job.min.io/interface.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/job.min.io/v1alpha1/interface.go b/pkg/client/informers/externalversions/job.min.io/v1alpha1/interface.go index a42cf61dd7d..cca70283091 100644 --- a/pkg/client/informers/externalversions/job.min.io/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/job.min.io/v1alpha1/interface.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/job.min.io/v1alpha1/miniojob.go b/pkg/client/informers/externalversions/job.min.io/v1alpha1/miniojob.go index fcd6afb26dc..eeb68c5729d 100644 --- a/pkg/client/informers/externalversions/job.min.io/v1alpha1/miniojob.go +++ b/pkg/client/informers/externalversions/job.min.io/v1alpha1/miniojob.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/minio.min.io/interface.go b/pkg/client/informers/externalversions/minio.min.io/interface.go index d4ab2c43146..bd4267845ce 100644 --- a/pkg/client/informers/externalversions/minio.min.io/interface.go +++ b/pkg/client/informers/externalversions/minio.min.io/interface.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/minio.min.io/v2/interface.go b/pkg/client/informers/externalversions/minio.min.io/v2/interface.go index 95c51612cd9..7699530f2fb 100644 --- a/pkg/client/informers/externalversions/minio.min.io/v2/interface.go +++ b/pkg/client/informers/externalversions/minio.min.io/v2/interface.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/minio.min.io/v2/tenant.go b/pkg/client/informers/externalversions/minio.min.io/v2/tenant.go index 7294aedaf0d..1c88b361263 100644 --- a/pkg/client/informers/externalversions/minio.min.io/v2/tenant.go +++ b/pkg/client/informers/externalversions/minio.min.io/v2/tenant.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/sts.min.io/interface.go b/pkg/client/informers/externalversions/sts.min.io/interface.go index 8f69be7a60f..b36c2607f55 100644 --- a/pkg/client/informers/externalversions/sts.min.io/interface.go +++ b/pkg/client/informers/externalversions/sts.min.io/interface.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/sts.min.io/v1alpha1/interface.go b/pkg/client/informers/externalversions/sts.min.io/v1alpha1/interface.go index c74e9874ed5..54c5df07ef5 100644 --- a/pkg/client/informers/externalversions/sts.min.io/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/sts.min.io/v1alpha1/interface.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/sts.min.io/v1alpha1/policybinding.go b/pkg/client/informers/externalversions/sts.min.io/v1alpha1/policybinding.go index 98ac7245c28..9672ce01435 100644 --- a/pkg/client/informers/externalversions/sts.min.io/v1alpha1/policybinding.go +++ b/pkg/client/informers/externalversions/sts.min.io/v1alpha1/policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/sts.min.io/v1beta1/interface.go b/pkg/client/informers/externalversions/sts.min.io/v1beta1/interface.go index 2821235feb5..3355d040419 100644 --- a/pkg/client/informers/externalversions/sts.min.io/v1beta1/interface.go +++ b/pkg/client/informers/externalversions/sts.min.io/v1beta1/interface.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/informers/externalversions/sts.min.io/v1beta1/policybinding.go b/pkg/client/informers/externalversions/sts.min.io/v1beta1/policybinding.go index 0172e7c1645..a6e21af6501 100644 --- a/pkg/client/informers/externalversions/sts.min.io/v1beta1/policybinding.go +++ b/pkg/client/informers/externalversions/sts.min.io/v1beta1/policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/listers/job.min.io/v1alpha1/expansion_generated.go b/pkg/client/listers/job.min.io/v1alpha1/expansion_generated.go index 339fc4bb42d..e16de7b695b 100644 --- a/pkg/client/listers/job.min.io/v1alpha1/expansion_generated.go +++ b/pkg/client/listers/job.min.io/v1alpha1/expansion_generated.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/listers/job.min.io/v1alpha1/miniojob.go b/pkg/client/listers/job.min.io/v1alpha1/miniojob.go index 468dec7847a..b10b80a3610 100644 --- a/pkg/client/listers/job.min.io/v1alpha1/miniojob.go +++ b/pkg/client/listers/job.min.io/v1alpha1/miniojob.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/listers/minio.min.io/v2/expansion_generated.go b/pkg/client/listers/minio.min.io/v2/expansion_generated.go index ba5ab1167e8..031fe29e3de 100644 --- a/pkg/client/listers/minio.min.io/v2/expansion_generated.go +++ b/pkg/client/listers/minio.min.io/v2/expansion_generated.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/listers/minio.min.io/v2/tenant.go b/pkg/client/listers/minio.min.io/v2/tenant.go index 69c79903fd4..f1dee9e9858 100644 --- a/pkg/client/listers/minio.min.io/v2/tenant.go +++ b/pkg/client/listers/minio.min.io/v2/tenant.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/listers/sts.min.io/v1alpha1/expansion_generated.go b/pkg/client/listers/sts.min.io/v1alpha1/expansion_generated.go index 3e486ef14c4..ad47c72b415 100644 --- a/pkg/client/listers/sts.min.io/v1alpha1/expansion_generated.go +++ b/pkg/client/listers/sts.min.io/v1alpha1/expansion_generated.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/listers/sts.min.io/v1alpha1/policybinding.go b/pkg/client/listers/sts.min.io/v1alpha1/policybinding.go index 934dc42cd2b..54695c78329 100644 --- a/pkg/client/listers/sts.min.io/v1alpha1/policybinding.go +++ b/pkg/client/listers/sts.min.io/v1alpha1/policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/listers/sts.min.io/v1beta1/expansion_generated.go b/pkg/client/listers/sts.min.io/v1beta1/expansion_generated.go index 7d149cbdfcd..32c17b72d59 100644 --- a/pkg/client/listers/sts.min.io/v1beta1/expansion_generated.go +++ b/pkg/client/listers/sts.min.io/v1beta1/expansion_generated.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by diff --git a/pkg/client/listers/sts.min.io/v1beta1/policybinding.go b/pkg/client/listers/sts.min.io/v1beta1/policybinding.go index baede6f1287..c9592aba0cb 100644 --- a/pkg/client/listers/sts.min.io/v1beta1/policybinding.go +++ b/pkg/client/listers/sts.min.io/v1beta1/policybinding.go @@ -1,5 +1,5 @@ // This file is part of MinIO Operator -// Copyright (c) 2023 MinIO, Inc. +// Copyright (c) 2024 MinIO, Inc. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by From 2c0f7ea54cffce16328677d3020ab4e5961e8ce2 Mon Sep 17 00:00:00 2001 From: pjuarezd Date: Fri, 21 Jun 2024 10:52:29 -0700 Subject: [PATCH 2/2] fix typo Signed-off-by: pjuarezd --- docs/policybinding_crd.adoc | 2 +- pkg/apis/sts.min.io/v1beta1/doc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/policybinding_crd.adoc b/docs/policybinding_crd.adoc index 2a913b3a8b2..5c8df1a7d13 100644 --- a/docs/policybinding_crd.adoc +++ b/docs/policybinding_crd.adoc @@ -11,7 +11,7 @@ [id="{anchor_prefix}-sts-min-io-v1beta1"] === sts.min.io/v1beta1 -Package v1beta1 - The following parameters are specific to the `sts.min.io/vv1beta1` MinIO Policy Binding CRD API +Package v1beta1 - The following parameters are specific to the `sts.min.io/v1beta1` MinIO Policy Binding CRD API PolicyBinding is an Authorization mechanism managed by the Minio Operator. Using Kubernetes ServiceAccount JSON Web Tokens the binding allow a ServiceAccount to assume temporary IAM credentials. For more complete documentation on this object, see the https://docs.min.io/minio/k8s/reference/minio-operator-reference.html#minio-operator-yaml-reference[MinIO Kubernetes Documentation]. diff --git a/pkg/apis/sts.min.io/v1beta1/doc.go b/pkg/apis/sts.min.io/v1beta1/doc.go index 8ab64c159d5..71e8c34235d 100644 --- a/pkg/apis/sts.min.io/v1beta1/doc.go +++ b/pkg/apis/sts.min.io/v1beta1/doc.go @@ -15,7 +15,7 @@ // +k8s:deepcopy-gen=package,register // go:generate controller-gen crd:trivialVersions=true paths=. output:dir=. -// Package v1beta1 - The following parameters are specific to the `sts.min.io/vv1beta1` MinIO Policy Binding CRD API +// Package v1beta1 - The following parameters are specific to the `sts.min.io/v1beta1` MinIO Policy Binding CRD API // PolicyBinding is an Authorization mechanism managed by the Minio Operator. // Using Kubernetes ServiceAccount JSON Web Tokens the binding allow a ServiceAccount to assume temporary IAM credentials. // For more complete documentation on this object, see the https://docs.min.io/minio/k8s/reference/minio-operator-reference.html#minio-operator-yaml-reference[MinIO Kubernetes Documentation].