Skip to content

Commit 31393b8

Browse files
authored
Update to ACK runtime v0.39.0, code-generator v0.39.1 (#122)
### Update to ACK runtime `v0.39.0`, code-generator `v0.39.1` ---------- * ACK code-generator `v0.39.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.39.1) * ACK runtime `v0.39.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.39.0) ---------- NOTE: This PR increments the release version of service controller from `v1.3.12` to `v1.3.13` Once this PR is merged, release `v1.3.13` 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 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.13 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 c837df7 commit 31393b8

26 files changed

+155
-555
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2024-08-29T17:09:54Z"
3-
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
4-
go_version: go1.22.5
5-
version: v0.38.1
2+
build_date: "2024-10-10T04:09:12Z"
3+
build_hash: 36c2d234498c2bc4f60773ab8df632af4067f43b
4+
go_version: go1.23.2
5+
version: v0.39.1
66
api_directory_checksum: 761a2c708651b0273bf39d98dddaf029de23d337
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.49.0

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.12
9+
newTag: 1.3.13

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

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: groups.iam.services.k8s.aws
88
spec:
99
group: iam.services.k8s.aws
@@ -40,19 +40,14 @@ spec:
4040
description: |-
4141
GroupSpec defines the desired state of Group.
4242
43-
4443
Contains information about an IAM group entity.
4544
46-
4745
This data type is used as a response element in the following operations:
4846
49-
5047
* CreateGroup
5148
52-
5349
* GetGroup
5450
55-
5651
* ListGroups
5752
properties:
5853
inlinePolicies:
@@ -63,7 +58,6 @@ spec:
6358
description: |-
6459
The name of the group to create. Do not include the path in this value.
6560
66-
6761
IAM user, group, role, and policy names must be unique within the account.
6862
Names are not distinguished by case. For example, you cannot create resources
6963
named both "MyResource" and "myresource".
@@ -74,11 +68,9 @@ spec:
7468
(https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
7569
in the IAM User Guide.
7670
77-
7871
This parameter is optional. If it is not included, it defaults to a slash
7972
(/).
8073
81-
8274
This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
8375
a string of characters consisting of either a forward slash (/) by itself
8476
or a string that must begin and end with forward slashes. In addition, it
@@ -94,7 +86,7 @@ spec:
9486
items:
9587
description: "AWSResourceReferenceWrapper provides a wrapper around
9688
*AWSResourceReference\ntype to provide more user friendly syntax
97-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
89+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
9890
\ name: my-api"
9991
properties:
10092
from:
@@ -129,7 +121,6 @@ spec:
129121
when it has verified that an "adopted" resource (a resource where the
130122
ARN annotation was set by the Kubernetes user on the CR) exists and
131123
matches the supplied CR's Spec field values.
132-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
133124
https://github.com/aws/aws-controllers-k8s/issues/270
134125
type: string
135126
ownerAccountID:

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

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: instanceprofiles.iam.services.k8s.aws
88
spec:
99
group: iam.services.k8s.aws
@@ -40,29 +40,22 @@ spec:
4040
description: |-
4141
InstanceProfileSpec defines the desired state of InstanceProfile.
4242
43-
4443
Contains information about an instance profile.
4544
46-
4745
This data type is used as a response element in the following operations:
4846
49-
5047
* CreateInstanceProfile
5148
52-
5349
* GetInstanceProfile
5450
55-
5651
* ListInstanceProfiles
5752
58-
5953
* ListInstanceProfilesForRole
6054
properties:
6155
name:
6256
description: |-
6357
The name of the instance profile to create.
6458
65-
6659
This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
6760
a string of characters consisting of upper and lowercase alphanumeric characters
6861
with no spaces. You can also include any of the following characters: _+=,.@-
@@ -73,11 +66,9 @@ spec:
7366
Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
7467
in the IAM User Guide.
7568
76-
7769
This parameter is optional. If it is not included, it defaults to a slash
7870
(/).
7971
80-
8172
This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
8273
a string of characters consisting of either a forward slash (/) by itself
8374
or a string that must begin and end with forward slashes. In addition, it
@@ -90,7 +81,7 @@ spec:
9081
roleRef:
9182
description: "AWSResourceReferenceWrapper provides a wrapper around
9283
*AWSResourceReference\ntype to provide more user friendly syntax
93-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
84+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
9485
\ name: my-api"
9586
properties:
9687
from:
@@ -111,7 +102,6 @@ spec:
111102
information about tagging, see Tagging IAM resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html)
112103
in the IAM User Guide.
113104
114-
115105
If any one of the tags is invalid or if you exceed the allowed maximum number
116106
of tags, then the entire request fails and the resource is not created.
117107
items:
@@ -147,7 +137,6 @@ spec:
147137
when it has verified that an "adopted" resource (a resource where the
148138
ARN annotation was set by the Kubernetes user on the CR) exists and
149139
matches the supplied CR's Spec field values.
150-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
151140
https://github.com/aws/aws-controllers-k8s/issues/270
152141
type: string
153142
ownerAccountID:

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: openidconnectproviders.iam.services.k8s.aws
88
spec:
99
group: iam.services.k8s.aws
@@ -47,12 +47,10 @@ spec:
4747
that identifies the application. This is the value that's sent as the client_id
4848
parameter on OAuth requests.
4949
50-
5150
You can register multiple client IDs with the same provider. For example,
5251
you might have multiple applications that use the same OIDC provider. You
5352
cannot register more than 100 client IDs with a single IAM OIDC provider.
5453
55-
5654
There is no defined format for a client ID. The CreateOpenIDConnectProviderRequest
5755
operation accepts client IDs up to 255 characters long.
5856
items:
@@ -65,7 +63,6 @@ spec:
6563
information about tagging, see Tagging IAM resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html)
6664
in the IAM User Guide.
6765
68-
6966
If any one of the tags is invalid or if you exceed the allowed maximum number
7067
of tags, then the entire request fails and the resource is not created.
7168
items:
@@ -89,19 +86,16 @@ spec:
8986
lets you maintain multiple thumbprints if the identity provider is rotating
9087
certificates.
9188
92-
9389
The server certificate thumbprint is the hex-encoded SHA-1 hash value of
9490
the X.509 certificate used by the domain where the OpenID Connect provider
9591
makes its keys available. It is always a 40-character string.
9692
97-
9893
You must provide at least one thumbprint when creating an IAM OIDC provider.
9994
For example, assume that the OIDC provider is server.example.com and the
10095
provider stores its keys at https://keys.server.example.com/openid-connect.
10196
In that case, the thumbprint string would be the hex-encoded SHA-1 hash value
10297
of the certificate used by https://keys.server.example.com.
10398
104-
10599
For more information about obtaining the OIDC provider thumbprint, see Obtaining
106100
the thumbprint for an OpenID Connect provider (https://docs.aws.amazon.com/IAM/latest/UserGuide/identity-providers-oidc-obtain-thumbprint.html)
107101
in the IAM user Guide.
@@ -116,7 +110,6 @@ spec:
116110
Typically the URL consists of only a hostname, like https://server.example.org
117111
or https://example.com. The URL should not contain a port number.
118112
119-
120113
You cannot register the same provider multiple times in a single Amazon Web
121114
Services account. If you try to submit a URL that has already been used for
122115
an OpenID Connect provider in the Amazon Web Services account, you will get
@@ -144,7 +137,6 @@ spec:
144137
when it has verified that an "adopted" resource (a resource where the
145138
ARN annotation was set by the Kubernetes user on the CR) exists and
146139
matches the supplied CR's Spec field values.
147-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
148140
https://github.com/aws/aws-controllers-k8s/issues/270
149141
type: string
150142
ownerAccountID:

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

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: policies.iam.services.k8s.aws
88
spec:
99
group: iam.services.k8s.aws
@@ -40,14 +40,11 @@ spec:
4040
description: |-
4141
PolicySpec defines the desired state of Policy.
4242
43-
4443
Contains information about a managed policy.
4544
46-
4745
This data type is used as a response element in the CreatePolicy, GetPolicy,
4846
and ListPolicies operations.
4947
50-
5148
For more information about managed policies, refer to Managed policies and
5249
inline policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html)
5350
in the IAM User Guide.
@@ -56,19 +53,16 @@ spec:
5653
description: |-
5754
A friendly description of the policy.
5855
59-
6056
Typically used to store information about the permissions defined in the
6157
policy. For example, "Grants access to production DynamoDB tables."
6258
63-
6459
The policy description is immutable. After a value is assigned, it cannot
6560
be changed.
6661
type: string
6762
name:
6863
description: |-
6964
The friendly name of the policy.
7065
71-
7266
IAM user, group, role, and policy names must be unique within the account.
7367
Names are not distinguished by case. For example, you cannot create resources
7468
named both "MyResource" and "myresource".
@@ -77,60 +71,49 @@ spec:
7771
description: |-
7872
The path for the policy.
7973
80-
8174
For more information about paths, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
8275
in the IAM User Guide.
8376
84-
8577
This parameter is optional. If it is not included, it defaults to a slash
8678
(/).
8779
88-
8980
This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
9081
a string of characters consisting of either a forward slash (/) by itself
9182
or a string that must begin and end with forward slashes. In addition, it
9283
can contain any ASCII character from the ! (\u0021) through the DEL character
9384
(\u007F), including most punctuation characters, digits, and upper and lowercased
9485
letters.
9586
96-
9787
You cannot use an asterisk (*) in the path name.
9888
type: string
9989
policyDocument:
10090
description: |-
10191
The JSON policy document that you want to use as the content for the new
10292
policy.
10393
104-
10594
You must provide policies in JSON format in IAM. However, for CloudFormation
10695
templates formatted in YAML, you can provide the policy in JSON or YAML format.
10796
CloudFormation always converts a YAML policy to JSON format before submitting
10897
it to IAM.
10998
110-
11199
The maximum length of the policy document that you can pass in this operation,
112100
including whitespace, is listed below. To view the maximum character counts
113101
of a managed policy with no whitespaces, see IAM and STS character quotas
114102
(https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-quotas-entity-length).
115103
116-
117104
To learn more about JSON policy grammar, see Grammar of the IAM JSON policy
118105
language (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html)
119106
in the IAM User Guide.
120107
121-
122108
The regex pattern (http://wikipedia.org/wiki/regex) used to validate this
123109
parameter is a string of characters consisting of the following:
124110
125-
126111
* Any printable ASCII character ranging from the space character (\u0020)
127112
through the end of the ASCII character range
128113
129-
130114
* The printable characters in the Basic Latin and Latin-1 Supplement character
131115
set (through \u00FF)
132116
133-
134117
* The special characters tab (\u0009), line feed (\u000A), and carriage
135118
return (\u000D)
136119
type: string
@@ -141,7 +124,6 @@ spec:
141124
about tagging, see Tagging IAM resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html)
142125
in the IAM User Guide.
143126
144-
145127
If any one of the tags is invalid or if you exceed the allowed maximum number
146128
of tags, then the entire request fails and the resource is not created.
147129
items:
@@ -178,7 +160,6 @@ spec:
178160
when it has verified that an "adopted" resource (a resource where the
179161
ARN annotation was set by the Kubernetes user on the CR) exists and
180162
matches the supplied CR's Spec field values.
181-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
182163
https://github.com/aws/aws-controllers-k8s/issues/270
183164
type: string
184165
ownerAccountID:
@@ -254,7 +235,6 @@ spec:
254235
The number of entities (users and roles) for which the policy is used to
255236
set the permissions boundary.
256237
257-
258238
For more information about permissions boundaries, see Permissions boundaries
259239
for IAM identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)
260240
in the IAM User Guide.
@@ -264,7 +244,6 @@ spec:
264244
description: |-
265245
The stable and unique string identifying the policy.
266246
267-
268247
For more information about IDs, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
269248
in the IAM User Guide.
270249
type: string
@@ -273,7 +252,6 @@ spec:
273252
The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601),
274253
when the policy was last updated.
275254
276-
277255
When a policy has only one version, this field contains the date and time
278256
when the policy was created. When a policy has more than one version, this
279257
field contains the date and time when the most recent policy version was

0 commit comments

Comments
 (0)