Skip to content

Commit 0fb08f4

Browse files
authored
Update to ACK runtime v0.56.0, code-generator v0.56.0 (#51)
### Update to ACK runtime `v0.56.0`, code-generator `v0.56.0` ---------- * ACK code-generator `v0.56.0` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.56.0) * ACK runtime `v0.56.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.56.0) ---------- NOTE: This PR increments the release version of service controller from `v1.1.2` to `v1.2.0` Once this PR is merged, release `v1.2.0` 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.2.0 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 2e220ef commit 0fb08f4

File tree

15 files changed

+1672
-811
lines changed

15 files changed

+1672
-811
lines changed

.github/workflows/postsubmit.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Hydrate Go Proxy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
call-hydrate-go-proxy:
10+
uses: aws-controllers-k8s/.github/.github/workflows/reusable-postsubmit.yaml@main

ATTRIBUTION.md

Lines changed: 1567 additions & 758 deletions
Large diffs are not rendered by default.

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2025-11-12T22:53:41Z"
3-
build_hash: c833f2d14f4fe8953663ff92f4661ae5fb01b8c8
2+
build_date: "2025-11-29T03:21:46Z"
3+
build_hash: 23c7074fa310ad1ccb38946775397c203b49f024
44
go_version: go1.25.4
5-
version: v0.53.1
5+
version: v0.56.0
66
api_directory_checksum: 00c61153457eb7e48d4a9c003e93e022183ff8cd
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6

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.2
9+
newTag: 1.2.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.24.1
77
require (
88
github.com/aws-controllers-k8s/ec2-controller v1.2.2
99
github.com/aws-controllers-k8s/kms-controller v1.0.9
10-
github.com/aws-controllers-k8s/runtime v0.53.1
10+
github.com/aws-controllers-k8s/runtime v0.56.0
1111
github.com/aws/aws-sdk-go v1.49.24
1212
github.com/aws/aws-sdk-go-v2 v1.36.0
1313
github.com/aws/aws-sdk-go-v2/service/docdb v1.40.8

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ github.com/aws-controllers-k8s/ec2-controller v1.2.2 h1:ek/cGd76XTWQXe6185nxrmEm
22
github.com/aws-controllers-k8s/ec2-controller v1.2.2/go.mod h1:4e2L1aHo1fk3ihVTRmnhA6VJ2NSSoYPEf1GZNYYPwLw=
33
github.com/aws-controllers-k8s/kms-controller v1.0.9 h1:GZHSnuZBoWp9r6RaJ3siyDn5BRhDuaZJXtdBKeAiLSw=
44
github.com/aws-controllers-k8s/kms-controller v1.0.9/go.mod h1:Pnz0d5sly7dUgmYMDJWSRIKASOujJFi/b8N2q1qCLqU=
5-
github.com/aws-controllers-k8s/runtime v0.53.1 h1:l9MkR1KfZW8H8icT5rrRK3pdnVVA4io/eINVe5aspWs=
6-
github.com/aws-controllers-k8s/runtime v0.53.1/go.mod h1:OkUJN+Ds799JLYZsMJrO2vDJ4snxUeHK2MgrQHbU+Qc=
5+
github.com/aws-controllers-k8s/runtime v0.56.0 h1:xT03K82QkY7EpdUDhVKvDY7hLddA+XnKY0xDAePALhM=
6+
github.com/aws-controllers-k8s/runtime v0.56.0/go.mod h1:OkUJN+Ds799JLYZsMJrO2vDJ4snxUeHK2MgrQHbU+Qc=
77
github.com/aws/aws-sdk-go v1.49.24 h1:2ekq9ZvaoB2aRbTDfARzgVGUBB9N8XD2QYhFmTBlp+c=
88
github.com/aws/aws-sdk-go v1.49.24/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
99
github.com/aws/aws-sdk-go-v2 v1.36.0 h1:b1wM5CcE65Ujwn565qcwgtOTT1aT4ADOHHgglKjG7fk=

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

helm/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ .Chart.Name }} has been installed.
2-
This chart deploys "public.ecr.aws/aws-controllers-k8s/documentdb-controller:1.1.2".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/documentdb-controller:1.2.0".
33

44
Check its status by running:
55
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"

helm/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
image:
66
repository: public.ecr.aws/aws-controllers-k8s/documentdb-controller
7-
tag: 1.1.2
7+
tag: 1.2.0
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

@@ -120,8 +120,11 @@ watchSelectors: ""
120120
resourceTags:
121121
# Configures the ACK service controller to always set key/value pairs tags on
122122
# resources that it manages.
123+
# Note: Tags with empty values are automatically skipped to keep resources clean.
123124
- services.k8s.aws/controller-version=%CONTROLLER_SERVICE%-%CONTROLLER_VERSION%
124125
- services.k8s.aws/namespace=%K8S_NAMESPACE%
126+
- app.kubernetes.io/managed-by=%MANAGED_BY%
127+
- kro.run/kro-version=%KRO_VERSION%
125128

126129
# Set to "retain" to keep all AWS resources intact even after the K8s resources
127130
# have been deleted. By default, the ACK controller will delete the AWS resource

pkg/resource/db_cluster/manager.go

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

0 commit comments

Comments
 (0)