Skip to content

Commit c254189

Browse files
authored
Update to ACK runtime v0.47.0, code-generator v0.47.1 (#73)
### Update to ACK runtime `v0.47.0`, code-generator `v0.47.1` ---------- * ACK code-generator `v0.47.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.47.1) * ACK runtime `v0.47.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.47.0) ---------- NOTE: This PR increments the release version of service controller from `v1.0.21` to `v1.0.22` Once this PR is merged, release `v1.0.22` will be automatically created for `emrcontainers-controller` **Please close this PR, if you do not want the new patch release for `emrcontainers-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. installing controller-gen v0.16.2 ... ok. ==== building emrcontainers-controller ==== Copying common custom resource definitions into emrcontainers Building Kubernetes API objects for emrcontainers Generating deepcopy code for emrcontainers Generating custom resource definitions for emrcontainers Building service controller for emrcontainers Running GO mod tidy Generating RBAC manifests for emrcontainers Running gofmt against generated code for emrcontainers Updating additional GitHub repository maintenance files ==== building emrcontainers-controller release artifacts ==== Building release artifacts for emrcontainers-v1.0.22 Generating common custom resource definitions Generating custom resource definitions for emrcontainers Generating RBAC manifests for emrcontainers ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 51d83da commit c254189

13 files changed

+82
-28
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2025-05-13T04:55:41Z"
3-
build_hash: 55bf57b2806c33a7fcd074be403f26ce3f8e58db
2+
build_date: "2025-05-24T00:07:49Z"
3+
build_hash: 66a58d259146834e61b211a9a01609beaa58ef77
44
go_version: go1.24.2
5-
version: v0.46.2
6-
api_directory_checksum: 802f4f9126adeecb95b1521c7b3160a1af356301
5+
version: v0.47.1
6+
api_directory_checksum: b3aac8d5f9f5b91ae438c9ca3fe4e905658bde01
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

apis/v1alpha1/job_run.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/virtual_cluster.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ kind: Kustomization
66
images:
77
- name: controller
88
newName: public.ecr.aws/aws-controllers-k8s/emrcontainers-controller
9-
newTag: 1.0.21
9+
newTag: 1.0.22

config/crd/bases/emrcontainers.services.k8s.aws_jobruns.yaml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ spec:
5757
- message: Value is immutable once set
5858
rule: self == oldSelf
5959
executionRoleARN:
60-
description: The execution role ARN for the job run.
60+
description: |-
61+
The execution role ARN for the job run.
62+
63+
Regex Pattern: `^arn:(aws[a-zA-Z0-9-]*):iam::(\d{12})?:(role((\u002F)|(\u002F[\u0021-\u007F]+\u002F))[\w+=,.@-]+)$`
6164
type: string
6265
x-kubernetes-validations:
6366
- message: Value is immutable once set
@@ -82,13 +85,19 @@ spec:
8285
- message: Value is immutable once set
8386
rule: self == oldSelf
8487
name:
85-
description: The name of the job run.
88+
description: |-
89+
The name of the job run.
90+
91+
Regex Pattern: `^[\.\-_/#A-Za-z0-9]+$`
8692
type: string
8793
x-kubernetes-validations:
8894
- message: Value is immutable once set
8995
rule: self == oldSelf
9096
releaseLabel:
91-
description: The Amazon EMR release version to use for the job run.
97+
description: |-
98+
The Amazon EMR release version to use for the job run.
99+
100+
Regex Pattern: `^[\.\-_/A-Za-z0-9]+$`
92101
type: string
93102
x-kubernetes-validations:
94103
- message: Value is immutable once set
@@ -99,8 +108,10 @@ spec:
99108
description: The tags assigned to job runs.
100109
type: object
101110
virtualClusterID:
102-
description: The virtual cluster ID for which the job run request
103-
is submitted.
111+
description: |-
112+
The virtual cluster ID for which the job run request is submitted.
113+
114+
Regex Pattern: `^[0-9a-z]+$`
104115
type: string
105116
x-kubernetes-validations:
106117
- message: Value is immutable once set
@@ -191,7 +202,10 @@ spec:
191202
type: object
192203
type: array
193204
id:
194-
description: This output displays the started job run ID.
205+
description: |-
206+
This output displays the started job run ID.
207+
208+
Regex Pattern: `^[0-9a-z]+$`
195209
type: string
196210
state:
197211
description: The state of the job run.

config/crd/bases/emrcontainers.services.k8s.aws_virtualclusters.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ spec:
6868
type: string
6969
type: object
7070
name:
71-
description: The specified name of the virtual cluster.
71+
description: |-
72+
The specified name of the virtual cluster.
73+
74+
Regex Pattern: `^[\.\-_/#A-Za-z0-9]+$`
7275
type: string
7376
tags:
7477
additionalProperties:
@@ -147,7 +150,10 @@ spec:
147150
type: object
148151
type: array
149152
id:
150-
description: This output contains the virtual cluster ID.
153+
description: |-
154+
This output contains the virtual cluster ID.
155+
156+
Regex Pattern: `^[0-9a-z]+$`
151157
type: string
152158
type: object
153159
type: object

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.24.0
55
toolchain go1.24.1
66

77
require (
8-
github.com/aws-controllers-k8s/runtime v0.46.1
8+
github.com/aws-controllers-k8s/runtime v0.47.0
99
github.com/aws/aws-sdk-go v1.49.0
1010
github.com/aws/aws-sdk-go-v2 v1.35.0
1111
github.com/aws/aws-sdk-go-v2/service/emrcontainers v1.33.14

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/aws-controllers-k8s/runtime v0.46.1 h1:61RU6uYiFSp0cDhv52vAmaPzrebzoudtsp1fGkk6iLk=
2-
github.com/aws-controllers-k8s/runtime v0.46.1/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
1+
github.com/aws-controllers-k8s/runtime v0.47.0 h1:pWzMLrwAFrAmMuSukYDLrQp5Yw594w1ke6XWGmI3uyo=
2+
github.com/aws-controllers-k8s/runtime v0.47.0/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
33
github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY=
44
github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
55
github.com/aws/aws-sdk-go-v2 v1.35.0 h1:jTPxEJyzjSuuz0wB+302hr8Eu9KUI+Zv8zlujMGJpVI=

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
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.21
5-
appVersion: 1.0.21
4+
version: 1.0.22
5+
appVersion: 1.0.22
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:

helm/crds/emrcontainers.services.k8s.aws_jobruns.yaml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ spec:
5757
- message: Value is immutable once set
5858
rule: self == oldSelf
5959
executionRoleARN:
60-
description: The execution role ARN for the job run.
60+
description: |-
61+
The execution role ARN for the job run.
62+
63+
Regex Pattern: `^arn:(aws[a-zA-Z0-9-]*):iam::(\d{12})?:(role((\u002F)|(\u002F[\u0021-\u007F]+\u002F))[\w+=,.@-]+)$`
6164
type: string
6265
x-kubernetes-validations:
6366
- message: Value is immutable once set
@@ -82,13 +85,19 @@ spec:
8285
- message: Value is immutable once set
8386
rule: self == oldSelf
8487
name:
85-
description: The name of the job run.
88+
description: |-
89+
The name of the job run.
90+
91+
Regex Pattern: `^[\.\-_/#A-Za-z0-9]+$`
8692
type: string
8793
x-kubernetes-validations:
8894
- message: Value is immutable once set
8995
rule: self == oldSelf
9096
releaseLabel:
91-
description: The Amazon EMR release version to use for the job run.
97+
description: |-
98+
The Amazon EMR release version to use for the job run.
99+
100+
Regex Pattern: `^[\.\-_/A-Za-z0-9]+$`
92101
type: string
93102
x-kubernetes-validations:
94103
- message: Value is immutable once set
@@ -99,8 +108,10 @@ spec:
99108
description: The tags assigned to job runs.
100109
type: object
101110
virtualClusterID:
102-
description: The virtual cluster ID for which the job run request
103-
is submitted.
111+
description: |-
112+
The virtual cluster ID for which the job run request is submitted.
113+
114+
Regex Pattern: `^[0-9a-z]+$`
104115
type: string
105116
x-kubernetes-validations:
106117
- message: Value is immutable once set
@@ -191,7 +202,10 @@ spec:
191202
type: object
192203
type: array
193204
id:
194-
description: This output displays the started job run ID.
205+
description: |-
206+
This output displays the started job run ID.
207+
208+
Regex Pattern: `^[0-9a-z]+$`
195209
type: string
196210
state:
197211
description: The state of the job run.

helm/crds/emrcontainers.services.k8s.aws_virtualclusters.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ spec:
6868
type: string
6969
type: object
7070
name:
71-
description: The specified name of the virtual cluster.
71+
description: |-
72+
The specified name of the virtual cluster.
73+
74+
Regex Pattern: `^[\.\-_/#A-Za-z0-9]+$`
7275
type: string
7376
tags:
7477
additionalProperties:
@@ -147,7 +150,10 @@ spec:
147150
type: object
148151
type: array
149152
id:
150-
description: This output contains the virtual cluster ID.
153+
description: |-
154+
This output contains the virtual cluster ID.
155+
156+
Regex Pattern: `^[0-9a-z]+$`
151157
type: string
152158
type: object
153159
type: object

helm/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ .Chart.Name }} has been installed.
2-
This chart deploys "public.ecr.aws/aws-controllers-k8s/emrcontainers-controller:1.0.21".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/emrcontainers-controller:1.0.22".
33

44
Check its status by running:
55
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"

helm/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
image:
66
repository: public.ecr.aws/aws-controllers-k8s/emrcontainers-controller
7-
tag: 1.0.21
7+
tag: 1.0.22
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

0 commit comments

Comments
 (0)