Skip to content

Commit 654b9ef

Browse files
authored
Update to ACK runtime v0.47.0, code-generator v0.47.1 (#45)
### 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.8` to `v1.0.9` Once this PR is merged, release `v1.0.9` will be automatically created for `organizations-controller` **Please close this PR, if you do not want the new patch release for `organizations-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building organizations-controller ==== Copying common custom resource definitions into organizations Building Kubernetes API objects for organizations Generating deepcopy code for organizations Generating custom resource definitions for organizations Building service controller for organizations Running GO mod tidy Generating RBAC manifests for organizations Running gofmt against generated code for organizations Updating additional GitHub repository maintenance files ==== building organizations-controller release artifacts ==== Building release artifacts for organizations-v1.0.9 Generating common custom resource definitions Generating custom resource definitions for organizations Generating RBAC manifests for organizations ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 61137fc commit 654b9ef

13 files changed

+72
-16
lines changed

apis/v1alpha1/account.go

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

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-13T05:01:12Z"
3-
build_hash: 55bf57b2806c33a7fcd074be403f26ce3f8e58db
2+
build_date: "2025-05-24T00:45:16Z"
3+
build_hash: 66a58d259146834e61b211a9a01609beaa58ef77
44
go_version: go1.24.2
5-
version: v0.46.2
6-
api_directory_checksum: 4b40afb9ed679f81061b976518fa76adedec1288
5+
version: v0.47.1
6+
api_directory_checksum: e6d77bab071907a35ef7e1a082fcfe5dd568ddbc
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

apis/v1alpha1/organizational_unit.go

Lines changed: 5 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/organizations-controller
9-
newTag: 1.0.8
9+
newTag: 1.0.9

config/crd/bases/organizations.services.k8s.aws_accounts.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ spec:
5757
5858
* There must be one and only one @ symbol, which separates the local name
5959
from the domain name.
60+
61+
Regex Pattern: `^[^\s@]+@[^\s@]+\.[^\s@]+$`
6062
type: string
6163
iamUserAccessToBilling:
6264
description: |-
@@ -72,7 +74,10 @@ spec:
7274
for the new account.
7375
type: string
7476
name:
75-
description: The friendly name of the member account.
77+
description: |-
78+
The friendly name of the member account.
79+
80+
Regex Pattern: `^[\u0020-\u007E]+$`
7681
type: string
7782
roleName:
7883
description: |-
@@ -98,6 +103,8 @@ spec:
98103
The regex pattern (http://wikipedia.org/wiki/regex) that is used to validate
99104
this parameter. The pattern can include uppercase letters, lowercase letters,
100105
digits with no spaces, and any of the following characters: =,.@-
106+
107+
Regex Pattern: `^[\w+=,.@-]{1,64}$`
101108
type: string
102109
tags:
103110
description: |-
@@ -144,6 +151,8 @@ spec:
144151
145152
The regex pattern (http://wikipedia.org/wiki/regex) for an account ID string
146153
requires exactly 12 digits.
154+
155+
Regex Pattern: `^\d{12}$`
147156
type: string
148157
ackResourceMetadata:
149158
description: |-
@@ -222,6 +231,8 @@ spec:
222231
The regex pattern (http://wikipedia.org/wiki/regex) for a create account
223232
request ID string requires "car-" followed by from 8 to 32 lowercase letters
224233
or digits.
234+
235+
Regex Pattern: `^car-[a-z0-9]{8,32}$`
225236
type: string
226237
failureReason:
227238
description: |-
@@ -280,6 +291,8 @@ spec:
280291
description: |-
281292
If the account was created successfully, the unique identifier (ID) of the
282293
new account in the Amazon Web Services GovCloud (US) Region.
294+
295+
Regex Pattern: `^\d{12}$`
283296
type: string
284297
requestedTimestamp:
285298
description: The date and time that the request was made for the account

config/crd/bases/organizations.services.k8s.aws_organizationalunits.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ spec:
4747
in any child OUs.
4848
properties:
4949
name:
50-
description: The friendly name to assign to the new OU.
50+
description: |-
51+
The friendly name to assign to the new OU.
52+
53+
Regex Pattern: `^[\s\S]*$`
5154
type: string
5255
parentID:
5356
description: |-
@@ -64,6 +67,8 @@ spec:
6467
by from 4 to 32 lowercase letters or digits (the ID of the root that the
6568
OU is in). This string is followed by a second "-" dash and from 8 to
6669
32 additional lowercase letters or digits.
70+
71+
Regex Pattern: `^(r-[0-9a-z]{4,32})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$`
6772
type: string
6873
tags:
6974
description: |-
@@ -175,6 +180,8 @@ spec:
175180
unit ID string requires "ou-" followed by from 4 to 32 lowercase letters
176181
or digits (the ID of the root that contains the OU). This string is followed
177182
by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
183+
184+
Regex Pattern: `^ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}$`
178185
type: string
179186
type: object
180187
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.2
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.34.0
1111
github.com/aws/aws-sdk-go-v2/service/organizations v1.37.4

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.34.0 h1:9iyL+cjifckRGEVpRKZP3eIxVlL06Qk1Tk13vreaVQU=

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: organizations-chart
33
description: A Helm chart for the ACK service controller for AWS Organizations (Organizations)
4-
version: 1.0.8
5-
appVersion: 1.0.8
4+
version: 1.0.9
5+
appVersion: 1.0.9
66
home: https://github.com/aws-controllers-k8s/organizations-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/crds/organizations.services.k8s.aws_accounts.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ spec:
5757
5858
- There must be one and only one @ symbol, which separates the local name
5959
from the domain name.
60+
61+
Regex Pattern: `^[^\s@]+@[^\s@]+\.[^\s@]+$`
6062
type: string
6163
iamUserAccessToBilling:
6264
description: |-
@@ -72,7 +74,10 @@ spec:
7274
for the new account.
7375
type: string
7476
name:
75-
description: The friendly name of the member account.
77+
description: |-
78+
The friendly name of the member account.
79+
80+
Regex Pattern: `^[\u0020-\u007E]+$`
7681
type: string
7782
roleName:
7883
description: |-
@@ -98,6 +103,8 @@ spec:
98103
The regex pattern (http://wikipedia.org/wiki/regex) that is used to validate
99104
this parameter. The pattern can include uppercase letters, lowercase letters,
100105
digits with no spaces, and any of the following characters: =,.@-
106+
107+
Regex Pattern: `^[\w+=,.@-]{1,64}$`
101108
type: string
102109
tags:
103110
description: |-
@@ -144,6 +151,8 @@ spec:
144151
145152
The regex pattern (http://wikipedia.org/wiki/regex) for an account ID string
146153
requires exactly 12 digits.
154+
155+
Regex Pattern: `^\d{12}$`
147156
type: string
148157
ackResourceMetadata:
149158
description: |-
@@ -222,6 +231,8 @@ spec:
222231
The regex pattern (http://wikipedia.org/wiki/regex) for a create account
223232
request ID string requires "car-" followed by from 8 to 32 lowercase letters
224233
or digits.
234+
235+
Regex Pattern: `^car-[a-z0-9]{8,32}$`
225236
type: string
226237
failureReason:
227238
description: |-
@@ -280,6 +291,8 @@ spec:
280291
description: |-
281292
If the account was created successfully, the unique identifier (ID) of the
282293
new account in the Amazon Web Services GovCloud (US) Region.
294+
295+
Regex Pattern: `^\d{12}$`
283296
type: string
284297
requestedTimestamp:
285298
description: The date and time that the request was made for the account

0 commit comments

Comments
 (0)