Skip to content

Commit efad360

Browse files
authored
Update to ACK runtime v0.30.0, code-generator v0.30.0 (#99)
### Update to ACK runtime `v0.30.0`, code-generator `v0.30.0` ---------- * ACK code-generator `v0.30.0` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.30.0) * ACK runtime `v0.30.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.30.0) ---------- NOTE: This PR increments the release version of service controller from `v1.3.3` to `v1.3.4` Once this PR is merged, release `v1.3.4` 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.4 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 ef8dad0 commit efad360

32 files changed

+1972
-1390
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-01-29T07:11:35Z"
3-
build_hash: 92f531cde5631865cfc3dfa778cbc9611f3a64c3
4-
go_version: go1.21.5
5-
version: v0.29.2
2+
build_date: "2024-02-14T03:57:20Z"
3+
build_hash: 947081ffebdeefcf2c61c4ca6d7e68810bdf9d08
4+
go_version: go1.22.0
5+
version: v0.30.0
66
api_directory_checksum: b438ffe12bca1f7e1c8ab3b0a379f1ffd302b49f
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.49.0

apis/v1alpha1/zz_generated.deepcopy.go

Lines changed: 6 additions & 4 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.3
9+
newTag: 1.3.4

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

Lines changed: 87 additions & 55 deletions
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.14.0
87
name: groups.iam.services.k8s.aws
98
spec:
109
group: iam.services.k8s.aws
@@ -21,45 +20,71 @@ spec:
2120
description: Group is the Schema for the Groups 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: "GroupSpec defines the desired state of Group. \n Contains
37-
information about an IAM group entity. \n This data type is used as
38-
a response element in the following operations: \n * CreateGroup \n
39-
* GetGroup \n * ListGroups"
40+
description: |-
41+
GroupSpec defines the desired state of Group.
42+
43+
44+
Contains information about an IAM group entity.
45+
46+
47+
This data type is used as a response element in the following operations:
48+
49+
50+
* CreateGroup
51+
52+
53+
* GetGroup
54+
55+
56+
* ListGroups
4057
properties:
4158
inlinePolicies:
4259
additionalProperties:
4360
type: string
4461
type: object
4562
name:
46-
description: "The name of the group to create. Do not include the
47-
path in this value. \n IAM user, group, role, and policy names must
48-
be unique within the account. Names are not distinguished by case.
49-
For example, you cannot create resources named both \"MyResource\"
50-
and \"myresource\"."
63+
description: |-
64+
The name of the group to create. Do not include the path in this value.
65+
66+
67+
IAM user, group, role, and policy names must be unique within the account.
68+
Names are not distinguished by case. For example, you cannot create resources
69+
named both "MyResource" and "myresource".
5170
type: string
5271
path:
53-
description: "The path to the group. For more information about paths,
54-
see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
55-
in the IAM User Guide. \n This parameter is optional. If it is not
56-
included, it defaults to a slash (/). \n This parameter allows (through
57-
its regex pattern (http://wikipedia.org/wiki/regex)) a string of
58-
characters consisting of either a forward slash (/) by itself or
59-
a string that must begin and end with forward slashes. In addition,
60-
it can contain any ASCII character from the ! (\\u0021) through
61-
the DEL character (\\u007F), including most punctuation characters,
62-
digits, and upper and lowercased letters."
72+
description: |-
73+
The path to the group. For more information about paths, see IAM identifiers
74+
(https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
75+
in the IAM User Guide.
76+
77+
78+
This parameter is optional. If it is not included, it defaults to a slash
79+
(/).
80+
81+
82+
This parameter allows (through its regex pattern (http://wikipedia.org/wiki/regex))
83+
a string of characters consisting of either a forward slash (/) by itself
84+
or a string that must begin and end with forward slashes. In addition, it
85+
can contain any ASCII character from the ! (\u0021) through the DEL character
86+
(\u007F), including most punctuation characters, digits, and upper and lowercased
87+
letters.
6388
type: string
6489
policies:
6590
items:
@@ -68,13 +93,14 @@ spec:
6893
policyRefs:
6994
items:
7095
description: "AWSResourceReferenceWrapper provides a wrapper around
71-
*AWSResourceReference type to provide more user friendly syntax
72-
for references using 'from' field Ex: APIIDRef: \n from: name:
73-
my-api"
96+
*AWSResourceReference\ntype to provide more user friendly syntax
97+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
98+
\ name: my-api"
7499
properties:
75100
from:
76-
description: AWSResourceReference provides all the values necessary
77-
to reference another k8s resource for finding the identifier(Id/ARN/Name)
101+
description: |-
102+
AWSResourceReference provides all the values necessary to reference another
103+
k8s resource for finding the identifier(Id/ARN/Name)
78104
properties:
79105
name:
80106
type: string
@@ -88,24 +114,26 @@ spec:
88114
description: GroupStatus defines the observed state of Group
89115
properties:
90116
ackResourceMetadata:
91-
description: All CRs managed by ACK have a common `Status.ACKResourceMetadata`
92-
member that is used to contain resource sync state, account ownership,
117+
description: |-
118+
All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
119+
that is used to contain resource sync state, account ownership,
93120
constructed ARN for the resource
94121
properties:
95122
arn:
96-
description: 'ARN is the Amazon Resource Name for the resource.
97-
This is a globally-unique identifier and is set only by the
98-
ACK service controller once the controller has orchestrated
99-
the creation of the resource OR when it has verified that an
100-
"adopted" resource (a resource where the ARN annotation was
101-
set by the Kubernetes user on the CR) exists and matches the
102-
supplied CR''s Spec field values. TODO(vijat@): Find a better
103-
strategy for resources that do not have ARN in CreateOutputResponse
104-
https://github.com/aws/aws-controllers-k8s/issues/270'
123+
description: |-
124+
ARN is the Amazon Resource Name for the resource. This is a
125+
globally-unique identifier and is set only by the ACK service controller
126+
once the controller has orchestrated the creation of the resource OR
127+
when it has verified that an "adopted" resource (a resource where the
128+
ARN annotation was set by the Kubernetes user on the CR) exists and
129+
matches the supplied CR's Spec field values.
130+
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
131+
https://github.com/aws/aws-controllers-k8s/issues/270
105132
type: string
106133
ownerAccountID:
107-
description: OwnerAccountID is the AWS Account ID of the account
108-
that owns the backend AWS service API resource.
134+
description: |-
135+
OwnerAccountID is the AWS Account ID of the account that owns the
136+
backend AWS service API resource.
109137
type: string
110138
region:
111139
description: Region is the AWS region in which the resource exists
@@ -116,14 +144,16 @@ spec:
116144
- region
117145
type: object
118146
conditions:
119-
description: All CRS managed by ACK have a common `Status.Conditions`
120-
member that contains a collection of `ackv1alpha1.Condition` objects
121-
that describe the various terminal states of the CR and its backend
122-
AWS service API resource
147+
description: |-
148+
All CRS managed by ACK have a common `Status.Conditions` member that
149+
contains a collection of `ackv1alpha1.Condition` objects that describe
150+
the various terminal states of the CR and its backend AWS service API
151+
resource
123152
items:
124-
description: Condition is the common struct used by all CRDs managed
125-
by ACK service controllers to indicate terminal states of the
126-
CR and its backend AWS service API resource
153+
description: |-
154+
Condition is the common struct used by all CRDs managed by ACK service
155+
controllers to indicate terminal states of the CR and its backend AWS
156+
service API resource
127157
properties:
128158
lastTransitionTime:
129159
description: Last time the condition transitioned from one status
@@ -149,13 +179,15 @@ spec:
149179
type: object
150180
type: array
151181
createDate:
152-
description: The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601),
182+
description: |-
183+
The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601),
153184
when the group was created.
154185
format: date-time
155186
type: string
156187
groupID:
157-
description: The stable and unique string identifying the group. For
158-
more information about IDs, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
188+
description: |-
189+
The stable and unique string identifying the group. For more information
190+
about IDs, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
159191
in the IAM User Guide.
160192
type: string
161193
type: object

0 commit comments

Comments
 (0)