Skip to content

Commit 1986e9c

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

File tree

15 files changed

+35
-23
lines changed

15 files changed

+35
-23
lines changed

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-08-15T00:26:36Z"
3-
build_hash: b6df33f8c7f55b234555c0b578b8de43c74771a8
2+
build_date: "2025-09-19T17:33:10Z"
3+
build_hash: 6b4211163dcc34776b01da9a18217bac0f4103fd
44
go_version: go1.24.6
5-
version: v0.51.0
5+
version: v0.52.0
66
api_directory_checksum: 0f62053149f9d58731333e46fdbc434a4bf60c15
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/memorydb-controller
9-
newTag: 1.1.0
9+
newTag: 1.1.1

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.0.0
99
github.com/aws-controllers-k8s/kms-controller v1.0.0
10-
github.com/aws-controllers-k8s/runtime v0.51.0
10+
github.com/aws-controllers-k8s/runtime v0.52.0
1111
github.com/aws-controllers-k8s/sns-controller v0.0.5
1212
github.com/aws/aws-sdk-go v1.49.0
1313
github.com/aws/aws-sdk-go-v2 v1.36.2

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.0.0 h1:Si71KZjjegndY8ITI732dMPx
22
github.com/aws-controllers-k8s/ec2-controller v1.0.0/go.mod h1:/hrKcnF8KpsSoa5vjcVmdaR6OYWPSjkeHdVWwQljRb4=
33
github.com/aws-controllers-k8s/kms-controller v1.0.0 h1:Tb1hyedoI+n51gLYmhbYhw9ae1nXQrYzrHhYFCvJSTw=
44
github.com/aws-controllers-k8s/kms-controller v1.0.0/go.mod h1:eS2S9pJ6G5f4hvSoEuUyrzUjDkFnE7ctzGv3TUnnTvA=
5-
github.com/aws-controllers-k8s/runtime v0.51.0 h1:ZKu1DXPG7+CsvbEPLMCGqWFdfK37kSbceLzYf9lRZbw=
6-
github.com/aws-controllers-k8s/runtime v0.51.0/go.mod h1:OkUJN+Ds799JLYZsMJrO2vDJ4snxUeHK2MgrQHbU+Qc=
5+
github.com/aws-controllers-k8s/runtime v0.52.0 h1:Q5UIAn6SSBr60t/DiU/zr6NLBlUuK2AG3yy2ma/9gDU=
6+
github.com/aws-controllers-k8s/runtime v0.52.0/go.mod h1:OkUJN+Ds799JLYZsMJrO2vDJ4snxUeHK2MgrQHbU+Qc=
77
github.com/aws-controllers-k8s/sns-controller v0.0.5 h1:sFgot4v/LqeO9USfSbaWIQp7DawlF6vhMy1YU2lBXu4=
88
github.com/aws-controllers-k8s/sns-controller v0.0.5/go.mod h1:zw3lE2Yie+E6dv3Guaa+tLtH2w5UKoH8IUNCSEJCUoA=
99
github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY=

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: memorydb-chart
33
description: A Helm chart for the ACK service controller for Amazon MemoryDB for Redis (MemoryDB)
4-
version: 1.1.0
5-
appVersion: 1.1.0
4+
version: 1.1.1
5+
appVersion: 1.1.1
66
home: https://github.com/aws-controllers-k8s/memorydb-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/memorydb-controller:1.1.0".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/memorydb-controller:1.1.1".
33

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

helm/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ metadata:
1010
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
1111
k8s-app: {{ include "ack-memorydb-controller.app.name" . }}
1212
helm.sh/chart: {{ include "ack-memorydb-controller.chart.name-version" . }}
13+
{{- range $key, $value := .Values.deployment.labels }}
14+
{{ $key }}: {{ $value | quote }}
15+
{{- end }}
1316
spec:
1417
replicas: {{ .Values.deployment.replicas }}
1518
selector:
@@ -88,6 +91,7 @@ spec:
8891
- --feature-gates
8992
- "$(FEATURE_GATES)"
9093
{{- end }}
94+
- --enable-carm={{ .Values.enableCARM }}
9195
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
9296
imagePullPolicy: {{ .Values.image.pullPolicy }}
9397
name: controller

helm/values.schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,11 @@
263263
},
264264
"type": "object"
265265
},
266+
"enableCARM": {
267+
"description": "Parameter to enable or disable cross account resource management.",
268+
"type": "boolean",
269+
"default": true
270+
},
266271
"serviceAccount": {
267272
"description": "ServiceAccount settings",
268273
"properties": {

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/memorydb-controller
7-
tag: 1.1.0
7+
tag: 1.1.1
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

@@ -172,6 +172,9 @@ leaderElection:
172172
# pod.
173173
namespace: ""
174174

175+
# Enable Cross Account Resource Management (default = true). Set this to false to disable cross account resource management.
176+
enableCARM: true
177+
175178
# Configuration for feature gates. These are optional controller features that
176179
# can be individually enabled ("true") or disabled ("false") by adding key/value
177180
# pairs below.

pkg/resource/acl/resource.go

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

0 commit comments

Comments
 (0)