Skip to content

Commit 2e220ef

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

22 files changed

+213
-28
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: "2025-09-19T17:06:33Z"
3-
build_hash: 6b4211163dcc34776b01da9a18217bac0f4103fd
4-
go_version: go1.24.6
5-
version: v0.52.0
2+
build_date: "2025-11-12T22:53:41Z"
3+
build_hash: c833f2d14f4fe8953663ff92f4661ae5fb01b8c8
4+
go_version: go1.25.4
5+
version: v0.53.1
66
api_directory_checksum: 00c61153457eb7e48d4a9c003e93e022183ff8cd
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6

config/controller/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ spec:
4343
- "$(RECONCILE_DEFAULT_MAX_CONCURRENT_SYNCS)"
4444
- --feature-gates
4545
- "$(FEATURE_GATES)"
46+
- --enable-carm=$(ENABLE_CARM)
4647
image: controller:latest
4748
name: controller
4849
ports:
@@ -80,6 +81,8 @@ spec:
8081
value: "1"
8182
- name: "FEATURE_GATES"
8283
value: ""
84+
- name: "ENABLE_CARM"
85+
value: "true"
8386
securityContext:
8487
allowPrivilegeEscalation: false
8588
privileged: false

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/documentdb-controller
9-
newTag: 1.1.1
9+
newTag: 1.1.2

config/crd/bases/documentdb.services.k8s.aws_dbclusters.yaml

Lines changed: 1 addition & 1 deletion
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.16.2
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: dbclusters.documentdb.services.k8s.aws
88
spec:
99
group: documentdb.services.k8s.aws

config/crd/bases/documentdb.services.k8s.aws_dbinstances.yaml

Lines changed: 1 addition & 1 deletion
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.16.2
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: dbinstances.documentdb.services.k8s.aws
88
spec:
99
group: documentdb.services.k8s.aws

config/crd/bases/documentdb.services.k8s.aws_dbsubnetgroups.yaml

Lines changed: 1 addition & 1 deletion
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.16.2
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: dbsubnetgroups.documentdb.services.k8s.aws
88
spec:
99
group: documentdb.services.k8s.aws

config/crd/common/bases/services.k8s.aws_fieldexports.yaml

Lines changed: 1 addition & 1 deletion
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.16.2
6+
controller-gen.kubebuilder.io/version: v0.19.0
77
name: fieldexports.services.k8s.aws
88
spec:
99
group: services.k8s.aws
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.19.0
7+
name: iamroleselectors.services.k8s.aws
8+
spec:
9+
group: services.k8s.aws
10+
names:
11+
kind: IAMRoleSelector
12+
listKind: IAMRoleSelectorList
13+
plural: iamroleselectors
14+
singular: iamroleselector
15+
scope: Cluster
16+
versions:
17+
- name: v1alpha1
18+
schema:
19+
openAPIV3Schema:
20+
description: IAMRoleSelector is the schema for the IAMRoleSelector API.
21+
properties:
22+
apiVersion:
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
28+
type: string
29+
kind:
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
36+
type: string
37+
metadata:
38+
type: object
39+
spec:
40+
properties:
41+
arn:
42+
type: string
43+
x-kubernetes-validations:
44+
- message: Value is immutable once set
45+
rule: self == oldSelf
46+
namespaceSelector:
47+
description: IAMRoleSelectorSpec defines the desired state of IAMRoleSelector
48+
properties:
49+
labelSelector:
50+
description: LabelSelector is a label query over a set of resources.
51+
properties:
52+
matchLabels:
53+
additionalProperties:
54+
type: string
55+
type: object
56+
required:
57+
- matchLabels
58+
type: object
59+
names:
60+
items:
61+
type: string
62+
type: array
63+
required:
64+
- names
65+
type: object
66+
resourceTypeSelector:
67+
items:
68+
properties:
69+
group:
70+
type: string
71+
kind:
72+
type: string
73+
version:
74+
type: string
75+
required:
76+
- group
77+
- kind
78+
- version
79+
type: object
80+
type: array
81+
required:
82+
- arn
83+
type: object
84+
status:
85+
type: object
86+
type: object
87+
served: true
88+
storage: true
89+
subresources:
90+
status: {}

config/crd/common/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
apiVersion: kustomize.config.k8s.io/v1beta1
44
kind: Kustomization
55
resources:
6-
- bases/services.k8s.aws_adoptedresources.yaml
6+
- bases/services.k8s.aws_iamroleselectors.yaml
77
- bases/services.k8s.aws_fieldexports.yaml

config/rbac/cluster-role-controller.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ rules:
6767
- apiGroups:
6868
- services.k8s.aws
6969
resources:
70-
- adoptedresources
7170
- fieldexports
71+
- iamroleselectors
7272
verbs:
7373
- create
7474
- delete
@@ -80,8 +80,8 @@ rules:
8080
- apiGroups:
8181
- services.k8s.aws
8282
resources:
83-
- adoptedresources/status
8483
- fieldexports/status
84+
- iamroleselectors/status
8585
verbs:
8686
- get
8787
- patch

0 commit comments

Comments
 (0)