Skip to content

Commit 1add08f

Browse files
authored
[create-pull-request] automated change
1 parent 20242e4 commit 1add08f

18 files changed

+532
-351
lines changed

addons/emrcontainers-chart/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: emrcontainers-chart
33
description: A Helm chart for the ACK service controller for Amazon EMR on EKS (EMRContainers)
4-
version: 1.0.5
5-
appVersion: 1.0.5
4+
version: 1.0.18
5+
appVersion: 1.0.18
66
home: https://github.com/aws-controllers-k8s/emrcontainers-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

addons/emrcontainers-chart/crds/emrcontainers.services.k8s.aws_jobruns.yaml

+67-40
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.16.2
87
name: jobruns.emrcontainers.services.k8s.aws
98
spec:
109
group: emrcontainers.services.k8s.aws
@@ -28,28 +27,41 @@ spec:
2827
description: JobRun is the Schema for the JobRuns API
2928
properties:
3029
apiVersion:
31-
description: 'APIVersion defines the versioned schema of this representation
32-
of an object. Servers should convert recognized schemas to the latest
33-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
30+
description: |-
31+
APIVersion defines the versioned schema of this representation of an object.
32+
Servers should convert recognized schemas to the latest internal value, and
33+
may reject unrecognized values.
34+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3435
type: string
3536
kind:
36-
description: 'Kind is a string value representing the REST resource this
37-
object represents. Servers may infer this from the endpoint the client
38-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
37+
description: |-
38+
Kind is a string value representing the REST resource this object represents.
39+
Servers may infer this from the endpoint the client submits requests to.
40+
Cannot be updated.
41+
In CamelCase.
42+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3943
type: string
4044
metadata:
4145
type: object
4246
spec:
43-
description: "JobRunSpec defines the desired state of JobRun. \n This
44-
entity describes a job run. A job run is a unit of work, such as a Spark
45-
jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR
46-
on EKS."
47+
description: |-
48+
JobRunSpec defines the desired state of JobRun.
49+
50+
This entity describes a job run. A job run is a unit of work, such as a Spark
51+
jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on
52+
EKS.
4753
properties:
4854
configurationOverrides:
4955
type: string
56+
x-kubernetes-validations:
57+
- message: Value is immutable once set
58+
rule: self == oldSelf
5059
executionRoleARN:
5160
description: The execution role ARN for the job run.
5261
type: string
62+
x-kubernetes-validations:
63+
- message: Value is immutable once set
64+
rule: self == oldSelf
5365
jobDriver:
5466
description: The job driver for the job run.
5567
properties:
@@ -66,12 +78,21 @@ spec:
6678
type: string
6779
type: object
6880
type: object
81+
x-kubernetes-validations:
82+
- message: Value is immutable once set
83+
rule: self == oldSelf
6984
name:
7085
description: The name of the job run.
7186
type: string
87+
x-kubernetes-validations:
88+
- message: Value is immutable once set
89+
rule: self == oldSelf
7290
releaseLabel:
7391
description: The Amazon EMR release version to use for the job run.
7492
type: string
93+
x-kubernetes-validations:
94+
- message: Value is immutable once set
95+
rule: self == oldSelf
7596
tags:
7697
additionalProperties:
7798
type: string
@@ -81,46 +102,50 @@ spec:
81102
description: The virtual cluster ID for which the job run request
82103
is submitted.
83104
type: string
105+
x-kubernetes-validations:
106+
- message: Value is immutable once set
107+
rule: self == oldSelf
84108
virtualClusterRef:
85109
description: "AWSResourceReferenceWrapper provides a wrapper around
86-
*AWSResourceReference type to provide more user friendly syntax
87-
for references using 'from' field Ex: APIIDRef: \n from: name: my-api"
110+
*AWSResourceReference\ntype to provide more user friendly syntax
111+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
112+
\ name: my-api"
88113
properties:
89114
from:
90-
description: AWSResourceReference provides all the values necessary
91-
to reference another k8s resource for finding the identifier(Id/ARN/Name)
115+
description: |-
116+
AWSResourceReference provides all the values necessary to reference another
117+
k8s resource for finding the identifier(Id/ARN/Name)
92118
properties:
93119
name:
94120
type: string
121+
namespace:
122+
type: string
95123
type: object
96124
type: object
97-
required:
98-
- executionRoleARN
99-
- jobDriver
100-
- releaseLabel
101125
type: object
102126
status:
103127
description: JobRunStatus defines the observed state of JobRun
104128
properties:
105129
ackResourceMetadata:
106-
description: All CRs managed by ACK have a common `Status.ACKResourceMetadata`
107-
member that is used to contain resource sync state, account ownership,
130+
description: |-
131+
All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
132+
that is used to contain resource sync state, account ownership,
108133
constructed ARN for the resource
109134
properties:
110135
arn:
111-
description: 'ARN is the Amazon Resource Name for the resource.
112-
This is a globally-unique identifier and is set only by the
113-
ACK service controller once the controller has orchestrated
114-
the creation of the resource OR when it has verified that an
115-
"adopted" resource (a resource where the ARN annotation was
116-
set by the Kubernetes user on the CR) exists and matches the
117-
supplied CR''s Spec field values. TODO(vijat@): Find a better
118-
strategy for resources that do not have ARN in CreateOutputResponse
119-
https://github.com/aws/aws-controllers-k8s/issues/270'
136+
description: |-
137+
ARN is the Amazon Resource Name for the resource. This is a
138+
globally-unique identifier and is set only by the ACK service controller
139+
once the controller has orchestrated the creation of the resource OR
140+
when it has verified that an "adopted" resource (a resource where the
141+
ARN annotation was set by the Kubernetes user on the CR) exists and
142+
matches the supplied CR's Spec field values.
143+
https://github.com/aws/aws-controllers-k8s/issues/270
120144
type: string
121145
ownerAccountID:
122-
description: OwnerAccountID is the AWS Account ID of the account
123-
that owns the backend AWS service API resource.
146+
description: |-
147+
OwnerAccountID is the AWS Account ID of the account that owns the
148+
backend AWS service API resource.
124149
type: string
125150
region:
126151
description: Region is the AWS region in which the resource exists
@@ -131,14 +156,16 @@ spec:
131156
- region
132157
type: object
133158
conditions:
134-
description: All CRS managed by ACK have a common `Status.Conditions`
135-
member that contains a collection of `ackv1alpha1.Condition` objects
136-
that describe the various terminal states of the CR and its backend
137-
AWS service API resource
159+
description: |-
160+
All CRs managed by ACK have a common `Status.Conditions` member that
161+
contains a collection of `ackv1alpha1.Condition` objects that describe
162+
the various terminal states of the CR and its backend AWS service API
163+
resource
138164
items:
139-
description: Condition is the common struct used by all CRDs managed
140-
by ACK service controllers to indicate terminal states of the
141-
CR and its backend AWS service API resource
165+
description: |-
166+
Condition is the common struct used by all CRDs managed by ACK service
167+
controllers to indicate terminal states of the CR and its backend AWS
168+
service API resource
142169
properties:
143170
lastTransitionTime:
144171
description: Last time the condition transitioned from one status

addons/emrcontainers-chart/crds/emrcontainers.services.k8s.aws_virtualclusters.yaml

+46-37
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.16.2
87
name: virtualclusters.emrcontainers.services.k8s.aws
98
spec:
109
group: emrcontainers.services.k8s.aws
@@ -21,26 +20,33 @@ spec:
2120
description: VirtualCluster is the Schema for the VirtualClusters API
2221
properties:
2322
apiVersion:
24-
description: 'APIVersion defines the versioned schema of this representation
25-
of an object. Servers should convert recognized schemas to the latest
26-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2728
type: string
2829
kind:
29-
description: 'Kind is a string value representing the REST resource this
30-
object represents. Servers may infer this from the endpoint the client
31-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3236
type: string
3337
metadata:
3438
type: object
3539
spec:
36-
description: "VirtualClusterSpec defines the desired state of VirtualCluster.
37-
\n This entity describes a virtual cluster. A virtual cluster is a Kubernetes
38-
namespace that Amazon EMR is registered with. Amazon EMR uses virtual
39-
clusters to run jobs and host endpoints. Multiple virtual clusters can
40-
be backed by the same physical cluster. However, each virtual cluster
41-
maps to one namespace on an EKS cluster. Virtual clusters do not create
42-
any active resources that contribute to your bill or that require lifecycle
43-
management outside the service."
40+
description: |-
41+
VirtualClusterSpec defines the desired state of VirtualCluster.
42+
43+
This entity describes a virtual cluster. A virtual cluster is a Kubernetes
44+
namespace that Amazon EMR is registered with. Amazon EMR uses virtual clusters
45+
to run jobs and host endpoints. Multiple virtual clusters can be backed by
46+
the same physical cluster. However, each virtual cluster maps to one namespace
47+
on an Amazon EKS cluster. Virtual clusters do not create any active resources
48+
that contribute to your bill or that require lifecycle management outside
49+
the service.
4450
properties:
4551
containerProvider:
4652
description: The container provider of the virtual cluster.
@@ -52,7 +58,7 @@ spec:
5258
run or a managed endpoint.
5359
properties:
5460
eksInfo:
55-
description: The information about the EKS cluster.
61+
description: The information about the Amazon EKS cluster.
5662
properties:
5763
namespace:
5864
type: string
@@ -77,24 +83,25 @@ spec:
7783
description: VirtualClusterStatus defines the observed state of VirtualCluster
7884
properties:
7985
ackResourceMetadata:
80-
description: All CRs managed by ACK have a common `Status.ACKResourceMetadata`
81-
member that is used to contain resource sync state, account ownership,
86+
description: |-
87+
All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
88+
that is used to contain resource sync state, account ownership,
8289
constructed ARN for the resource
8390
properties:
8491
arn:
85-
description: 'ARN is the Amazon Resource Name for the resource.
86-
This is a globally-unique identifier and is set only by the
87-
ACK service controller once the controller has orchestrated
88-
the creation of the resource OR when it has verified that an
89-
"adopted" resource (a resource where the ARN annotation was
90-
set by the Kubernetes user on the CR) exists and matches the
91-
supplied CR''s Spec field values. TODO(vijat@): Find a better
92-
strategy for resources that do not have ARN in CreateOutputResponse
93-
https://github.com/aws/aws-controllers-k8s/issues/270'
92+
description: |-
93+
ARN is the Amazon Resource Name for the resource. This is a
94+
globally-unique identifier and is set only by the ACK service controller
95+
once the controller has orchestrated the creation of the resource OR
96+
when it has verified that an "adopted" resource (a resource where the
97+
ARN annotation was set by the Kubernetes user on the CR) exists and
98+
matches the supplied CR's Spec field values.
99+
https://github.com/aws/aws-controllers-k8s/issues/270
94100
type: string
95101
ownerAccountID:
96-
description: OwnerAccountID is the AWS Account ID of the account
97-
that owns the backend AWS service API resource.
102+
description: |-
103+
OwnerAccountID is the AWS Account ID of the account that owns the
104+
backend AWS service API resource.
98105
type: string
99106
region:
100107
description: Region is the AWS region in which the resource exists
@@ -105,14 +112,16 @@ spec:
105112
- region
106113
type: object
107114
conditions:
108-
description: All CRS managed by ACK have a common `Status.Conditions`
109-
member that contains a collection of `ackv1alpha1.Condition` objects
110-
that describe the various terminal states of the CR and its backend
111-
AWS service API resource
115+
description: |-
116+
All CRs managed by ACK have a common `Status.Conditions` member that
117+
contains a collection of `ackv1alpha1.Condition` objects that describe
118+
the various terminal states of the CR and its backend AWS service API
119+
resource
112120
items:
113-
description: Condition is the common struct used by all CRDs managed
114-
by ACK service controllers to indicate terminal states of the
115-
CR and its backend AWS service API resource
121+
description: |-
122+
Condition is the common struct used by all CRDs managed by ACK service
123+
controllers to indicate terminal states of the CR and its backend AWS
124+
service API resource
116125
properties:
117126
lastTransitionTime:
118127
description: Last time the condition transitioned from one status

0 commit comments

Comments
 (0)