Skip to content

Commit 2828094

Browse files
authored
Update generated code (#2174)
* update generated code make generate-code make regen-crd make regen-crd-docs Signed-off-by: pjuarezd <[email protected]> --------- Signed-off-by: pjuarezd <[email protected]>
1 parent fd7ede7 commit 2828094

File tree

103 files changed

+353
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+353
-127
lines changed

docs/job_crd.adoc

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
[id="{p}-api-reference"]
55
== API Reference
66

7-
:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-03-15T01-07-19Z]
8-
:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-03-13T17-52-13Z]
7+
:minio-image: https://hub.docker.com/r/minio/minio/tags[minio/minio:RELEASE.2024-05-01T01-11-10Z]
8+
:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-04-12T13-50-00Z]
99

1010

1111
[id="{anchor_prefix}-job-min-io-v1alpha1"]
@@ -43,9 +43,37 @@ Operation is the MinioClient Action
4343
|*`args`* __object (keys:string, values:string)__
4444
|Args Arguments to pass to the action
4545

46+
|*`command`* __string array__
47+
|Command Execute All User-Defined Commands
48+
4649
|*`dependsOn`* __string array__
4750
|DependsOn List of named `command` in this MinioJob that have to be scheduled and executed before this command runs
4851

52+
|*`resources`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#resourcerequirements-v1-core[$$ResourceRequirements$$]__
53+
|Compute Resources required by this container.
54+
Cannot be updated.
55+
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
56+
57+
|*`envFrom`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#envfromsource-v1-core[$$EnvFromSource$$] array__
58+
|List of sources to populate environment variables in the container.
59+
The keys defined within a source must be a C_IDENTIFIER. All invalid keys
60+
will be reported as an event when the container is starting. When a key exists in multiple
61+
sources, the value associated with the last source will take precedence.
62+
Values defined by an Env with a duplicate key will take precedence.
63+
Cannot be updated.
64+
65+
|*`env`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#envvar-v1-core[$$EnvVar$$] array__
66+
|List of environment variables to set in the container.
67+
Cannot be updated.
68+
69+
|*`volumeMounts`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#volumemount-v1-core[$$VolumeMount$$] array__
70+
|Pod volumes to mount into the container's filesystem.
71+
Cannot be updated.
72+
73+
|*`volumes`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#volume-v1-core[$$Volume$$] array__
74+
|List of volumes that can be mounted by containers belonging to the pod.
75+
More info: https://kubernetes.io/docs/concepts/storage/volumes
76+
4977
|===
5078

5179

@@ -171,6 +199,39 @@ Commands List of MinioClient commands
171199
|*`mcImage`* __string__
172200
|mc job image
173201

202+
|*`securityContext`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#podsecuritycontext-v1-core[$$PodSecurityContext$$]__
203+
|*Optional* +
204+
205+
206+
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: +
207+
208+
209+
* `fsGroup` +
210+
211+
212+
* `fsGroupChangePolicy` +
213+
214+
215+
* `runAsGroup` +
216+
217+
218+
* `runAsNonRoot` +
219+
220+
221+
* `runAsUser` +
222+
223+
|*`containerSecurityContext`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#securitycontext-v1-core[$$SecurityContext$$]__
224+
|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: +
225+
226+
227+
* `runAsGroup` +
228+
229+
230+
* `runAsNonRoot` +
231+
232+
233+
* `runAsUser` +
234+
174235
|===
175236

176237

docs/policybinding_crd.adoc

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
:kes-image: https://hub.docker.com/r/minio/kes/tags[minio/kes:2024-04-12T13-50-00Z]
99

1010

11-
[id="{anchor_prefix}-sts-min-io-v1alpha1"]
11+
[id="{anchor_prefix}-sts-min-io-v1beta1"]
1212
=== sts.min.io/v1beta1
1313

1414
Package v1beta1 - The following parameters are specific to the `sts.min.io/v1beta1` MinIO Policy Binding CRD API
@@ -17,16 +17,20 @@ Using Kubernetes ServiceAccount JSON Web Tokens the binding allow a ServiceAccou
1717
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].
1818
PolicyBinding is added as part of the MinIO Operator v5.0.0. +
1919

20+
.Resource Types
21+
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybinding[$$PolicyBinding$$]
22+
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindinglist[$$PolicyBindingList$$]
2023

2124

22-
[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-application"]
25+
26+
[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-application"]
2327
==== Application
2428

2529
Application defines the `Namespace` and `ServiceAccount` to authorize the usage of the policies listed
2630

2731
.Appears In:
2832
****
29-
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingspec[$$PolicyBindingSpec$$]
33+
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingspec[$$PolicyBindingSpec$$]
3034
****
3135

3236
[cols="25a,75a", options="header"]
@@ -42,25 +46,31 @@ Application defines the `Namespace` and `ServiceAccount` to authorize the usage
4246
|===
4347

4448

45-
[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybinding"]
49+
[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybinding"]
4650
==== PolicyBinding
4751

4852
PolicyBinding is a https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/[Kubernetes object] describing a MinIO PolicyBinding.
4953

5054
.Appears In:
5155
****
52-
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindinglist[$$PolicyBindingList$$]
56+
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindinglist[$$PolicyBindingList$$]
5357
****
5458

5559
[cols="25a,75a", options="header"]
5660
|===
5761
| Field | Description
5862

63+
|*`apiVersion`* __string__
64+
|`sts.min.io/v1beta1`
65+
66+
|*`kind`* __string__
67+
|`PolicyBinding`
68+
5969
|*`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#objectmeta-v1-meta[$$ObjectMeta$$]__
6070
|Refer to Kubernetes API documentation for fields of `metadata`.
6171

6272

63-
|*`spec`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingspec[$$PolicyBindingSpec$$]__
73+
|*`spec`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingspec[$$PolicyBindingSpec$$]__
6474
|*Required* +
6575

6676

@@ -69,23 +79,48 @@ The root field for the MinIO PolicyBinding object.
6979
|===
7080

7181

82+
[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindinglist"]
83+
==== PolicyBindingList
84+
85+
PolicyBindingList is a list of PolicyBinding resources
86+
87+
88+
89+
[cols="25a,75a", options="header"]
90+
|===
91+
| Field | Description
92+
93+
|*`apiVersion`* __string__
94+
|`sts.min.io/v1beta1`
95+
96+
|*`kind`* __string__
97+
|`PolicyBindingList`
98+
99+
|*`metadata`* __link:https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#listmeta-v1-meta[$$ListMeta$$]__
100+
|Refer to Kubernetes API documentation for fields of `metadata`.
101+
102+
103+
|*`items`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybinding[$$PolicyBinding$$] array__
104+
|
105+
106+
|===
72107

73108

74-
[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingspec"]
109+
[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingspec"]
75110
==== PolicyBindingSpec
76111

77112
PolicyBindingSpec (`spec`) defines the configuration of a MinIO PolicyBinding object. +
78113

79114
.Appears In:
80115
****
81-
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybinding[$$PolicyBinding$$]
116+
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybinding[$$PolicyBinding$$]
82117
****
83118

84119
[cols="25a,75a", options="header"]
85120
|===
86121
| Field | Description
87122

88-
|*`application`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-application[$$Application$$]__
123+
|*`application`* __xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-application[$$Application$$]__
89124
|*Required* +
90125

91126

@@ -99,14 +134,14 @@ The Application Property identifies the namespace and service account that will
99134

100135

101136

102-
[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingusage"]
137+
[id="{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingusage"]
103138
==== PolicyBindingUsage
104139

105140
PolicyBindingUsage are metrics regarding the usage of the policyBinding
106141

107142
.Appears In:
108143
****
109-
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1alpha1-policybindingstatus[$$PolicyBindingStatus$$]
144+
- xref:{anchor_prefix}-github-com-minio-operator-pkg-apis-sts-min-io-v1beta1-policybindingstatus[$$PolicyBindingStatus$$]
110145
****
111146

112147
[cols="25a,75a", options="header"]

docs/tenant_crd.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,13 +364,13 @@ Specify an object containing the following fields: +
364364
|*Optional* +
365365

366366

367-
Specify the GCP default credentials to be used for KES to authenticate to GCP key store
367+
Specify the GCP default credentials to be used for KES to authenticate to GCP key store
368368

369369
|*`gcpWorkloadIdentityPool`* __string__
370370
|*Optional* +
371371

372372

373-
Specify the name of the workload identity pool (This is required for generating service account token)
373+
Specify the name of the workload identity pool (This is required for generating service account token)
374374

375375
|*`annotations`* __object (keys:string, values:string)__
376376
|*Optional* +
@@ -531,8 +531,6 @@ See the https://min.io/docs/minio/kubernetes/upstream/operations/install-deploy-
531531

532532
|*`name`* __string__
533533
|*Required*
534-
535-
536534
Specify the name of the pool. The Operator automatically generates the pool name if this field is omitted.
537535

538536
|*`servers`* __integer__

pkg/apis/job.min.io/v1alpha1/zz_generated.deepcopy.go

Lines changed: 46 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/minio.min.io/v2/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/sts.min.io/v1alpha1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/sts.min.io/v1beta1/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// +k8s:deepcopy-gen=package,register
1616
// go:generate controller-gen crd:trivialVersions=true paths=. output:dir=.
1717

18-
// Package v1beta1 - The following parameters are specific to the `sts.min.io/vv1beta1` MinIO Policy Binding CRD API
18+
// Package v1beta1 - The following parameters are specific to the `sts.min.io/v1beta1` MinIO Policy Binding CRD API
1919
// PolicyBinding is an Authorization mechanism managed by the Minio Operator.
2020
// Using Kubernetes ServiceAccount JSON Web Tokens the binding allow a ServiceAccount to assume temporary IAM credentials.
2121
// 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].

pkg/apis/sts.min.io/v1beta1/zz_generated.deepcopy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/client/applyconfiguration/internal/internal.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)