Skip to content

Commit d689e9a

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

22 files changed

+133
-18
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-13T05:08:01Z"
3-
build_hash: 55bf57b2806c33a7fcd074be403f26ce3f8e58db
2+
build_date: "2025-05-24T00:20:59Z"
3+
build_hash: 66a58d259146834e61b211a9a01609beaa58ef77
44
go_version: go1.24.2
5-
version: v0.46.2
6-
api_directory_checksum: 7e1c19231d3275a1147157f6943a7391953f7001
5+
version: v0.47.1
6+
api_directory_checksum: 0791ed331a435043f515ff3beb1387626883f04d
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

apis/v1alpha1/group.go

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

apis/v1alpha1/instance_profile.go

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

apis/v1alpha1/policy.go

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

apis/v1alpha1/role.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/user.go

Lines changed: 6 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/iam-controller
9-
newTag: 1.3.21
9+
newTag: 1.3.22

config/crd/bases/iam.services.k8s.aws_groups.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ spec:
6161
IAM user, group, role, and policy names must be unique within the account.
6262
Names are not distinguished by case. For example, you cannot create resources
6363
named both "MyResource" and "myresource".
64+
65+
Regex Pattern: `^[\w+=,.@-]+$`
6466
type: string
6567
path:
6668
description: |-
@@ -77,6 +79,8 @@ spec:
7779
can contain any ASCII character from the ! (\u0021) through the DEL character
7880
(\u007F), including most punctuation characters, digits, and upper and lowercased
7981
letters.
82+
83+
Regex Pattern: `^(\u002F)|(\u002F[\u0021-\u007E]+\u002F)$`
8084
type: string
8185
policies:
8286
items:
@@ -182,6 +186,8 @@ spec:
182186
The stable and unique string identifying the group. For more information
183187
about IDs, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
184188
in the IAM User Guide.
189+
190+
Regex Pattern: `^[\w]+$`
185191
type: string
186192
type: object
187193
type: object

config/crd/bases/iam.services.k8s.aws_instanceprofiles.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ spec:
5959
This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
6060
a string of characters consisting of upper and lowercase alphanumeric characters
6161
with no spaces. You can also include any of the following characters: _+=,.@-
62+
63+
Regex Pattern: `^[\w+=,.@-]+$`
6264
type: string
6365
path:
6466
description: |-
@@ -75,6 +77,8 @@ spec:
7577
can contain any ASCII character from the ! (\u0021) through the DEL character
7678
(\u007F), including most punctuation characters, digits, and upper and lowercased
7779
letters.
80+
81+
Regex Pattern: `^(\u002F)|(\u002F[\u0021-\u007E]+\u002F)$`
7882
type: string
7983
x-kubernetes-validations:
8084
- message: Value is immutable once set
@@ -199,6 +203,8 @@ spec:
199203
The stable and unique string identifying the instance profile. For more information
200204
about IDs, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
201205
in the IAM User Guide.
206+
207+
Regex Pattern: `^[\w]+$`
202208
type: string
203209
type: object
204210
type: object

config/crd/bases/iam.services.k8s.aws_policies.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ spec:
6666
IAM user, group, role, and policy names must be unique within the account.
6767
Names are not distinguished by case. For example, you cannot create resources
6868
named both "MyResource" and "myresource".
69+
70+
Regex Pattern: `^[\w+=,.@-]+$`
6971
type: string
7072
path:
7173
description: |-
@@ -85,6 +87,8 @@ spec:
8587
letters.
8688
8789
You cannot use an asterisk (*) in the path name.
90+
91+
Regex Pattern: `^((/[A-Za-z0-9\.,\+@=_-]+)*)/$`
8892
type: string
8993
policyDocument:
9094
description: |-
@@ -116,6 +120,8 @@ spec:
116120
117121
* The special characters tab (\u0009), line feed (\u000A), and carriage
118122
return (\u000D)
123+
124+
Regex Pattern: `^[\u0009\u000A\u000D\u0020-\u00FF]+$`
119125
type: string
120126
tags:
121127
description: |-
@@ -223,8 +229,10 @@ spec:
223229
format: date-time
224230
type: string
225231
defaultVersionID:
226-
description: The identifier for the version of the policy that is
227-
set as the default version.
232+
description: |-
233+
The identifier for the version of the policy that is set as the default version.
234+
235+
Regex Pattern: `^v[1-9][0-9]*(\.[A-Za-z0-9-]*)?$`
228236
type: string
229237
isAttachable:
230238
description: Specifies whether the policy can be attached to an IAM
@@ -246,6 +254,8 @@ spec:
246254
247255
For more information about IDs, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
248256
in the IAM User Guide.
257+
258+
Regex Pattern: `^[\w]+$`
249259
type: string
250260
updateDate:
251261
description: |-

config/crd/bases/iam.services.k8s.aws_roles.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,14 @@ spec:
6666
return (\u000D)
6767
6868
Upon success, the response includes the same trust policy in JSON format.
69+
70+
Regex Pattern: `^[\u0009\u000A\u000D\u0020-\u00FF]+$`
6971
type: string
7072
description:
71-
description: A description of the role.
73+
description: |-
74+
A description of the role.
75+
76+
Regex Pattern: `^[\u0009\u000A\u000D\u0020-\u007E\u00A1-\u00FF]*$`
7277
type: string
7378
inlinePolicies:
7479
additionalProperties:
@@ -103,6 +108,8 @@ spec:
103108
This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
104109
a string of characters consisting of upper and lowercase alphanumeric characters
105110
with no spaces. You can also include any of the following characters: _+=,.@-
111+
112+
Regex Pattern: `^[\w+=,.@-]+$`
106113
type: string
107114
path:
108115
description: |-
@@ -119,6 +126,8 @@ spec:
119126
can contain any ASCII character from the ! (\u0021) through the DEL character
120127
(\u007F), including most punctuation characters, digits, and upper and lowercased
121128
letters.
129+
130+
Regex Pattern: `^(\u002F)|(\u002F[\u0021-\u007E]+\u002F)$`
122131
type: string
123132
permissionsBoundary:
124133
description: |-
@@ -279,6 +288,8 @@ spec:
279288
The stable and unique string identifying the role. For more information about
280289
IDs, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
281290
in the IAM User Guide.
291+
292+
Regex Pattern: `^[\w]+$`
282293
type: string
283294
roleLastUsed:
284295
description: |-

config/crd/bases/iam.services.k8s.aws_users.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ spec:
6161
IAM user, group, role, and policy names must be unique within the account.
6262
Names are not distinguished by case. For example, you cannot create resources
6363
named both "MyResource" and "myresource".
64+
65+
Regex Pattern: `^[\w+=,.@-]+$`
6466
type: string
6567
path:
6668
description: |-
@@ -77,6 +79,8 @@ spec:
7779
can contain any ASCII character from the ! (\u0021) through the DEL character
7880
(\u007F), including most punctuation characters, digits, and upper and lowercased
7981
letters.
82+
83+
Regex Pattern: `^(\u002F)|(\u002F[\u0021-\u007E]+\u002F)$`
8084
type: string
8185
permissionsBoundary:
8286
description: |-
@@ -259,6 +263,8 @@ spec:
259263
The stable and unique string identifying the user. For more information about
260264
IDs, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
261265
in the IAM User Guide.
266+
267+
Regex Pattern: `^[\w]+$`
262268
type: string
263269
type: object
264270
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.34.0
1111
github.com/aws/aws-sdk-go-v2/service/iam v1.38.8

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github.com/a-hilaly/aws-iam-policy v0.0.0-20231121054900-2c56e839ca53 h1:2uNM0nR2WUDN88EYFxjEaroH+PZJ6k/h9kl+KO0dWVc=
22
github.com/a-hilaly/aws-iam-policy v0.0.0-20231121054900-2c56e839ca53/go.mod h1:Ojgst9ZFn+VEEJpqtuw/LxVGqEf2+hwWBlkYWvF/XWM=
3-
github.com/aws-controllers-k8s/runtime v0.46.1 h1:61RU6uYiFSp0cDhv52vAmaPzrebzoudtsp1fGkk6iLk=
4-
github.com/aws-controllers-k8s/runtime v0.46.1/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
3+
github.com/aws-controllers-k8s/runtime v0.47.0 h1:pWzMLrwAFrAmMuSukYDLrQp5Yw594w1ke6XWGmI3uyo=
4+
github.com/aws-controllers-k8s/runtime v0.47.0/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
55
github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY=
66
github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
77
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: iam-chart
33
description: A Helm chart for the ACK service controller for AWS Identity & Access Management (IAM)
4-
version: 1.3.21
5-
appVersion: 1.3.21
4+
version: 1.3.22
5+
appVersion: 1.3.22
66
home: https://github.com/aws-controllers-k8s/iam-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

0 commit comments

Comments
 (0)