Skip to content

Commit 6d2155e

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

File tree

10 files changed

+37
-13
lines changed

10 files changed

+37
-13
lines changed

OWNERS_ALIASES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ aliases:
55
- a-hilaly
66
- jlbutler
77
- michaelhtm
8-
- TiberiuGC
98
- rushmash91
109
- knottnt
1110
# emeritus-core-ack-team:
11+
# - TiberiuGC
1212
# - jaypipes
1313
# - jljaco
1414
# - mhausenblas

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-05-05T18:30:44Z"
3-
build_hash: f8dc5330705b3752ce07dce0ac831161fd4cb14f
4-
go_version: go1.24.1
5-
version: v0.45.0
2+
build_date: "2025-05-13T05:05:35Z"
3+
build_hash: 55bf57b2806c33a7fcd074be403f26ce3f8e58db
4+
go_version: go1.24.2
5+
version: v0.46.2
66
api_directory_checksum: c12b40964ab08f514a248a3a03e41441d7a9c3e7
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/elasticache-controller
9-
newTag: 0.2.5
9+
newTag: 0.2.6

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ toolchain go1.24.1
66

77
require (
88
github.com/aws-controllers-k8s/ec2-controller v1.0.7
9-
github.com/aws-controllers-k8s/runtime v0.45.0
9+
github.com/aws-controllers-k8s/runtime v0.46.1
1010
github.com/aws-controllers-k8s/sns-controller v1.0.11
1111
github.com/aws/aws-sdk-go v1.49.0
1212
github.com/aws/aws-sdk-go-v2 v1.36.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github.com/aws-controllers-k8s/ec2-controller v1.0.7 h1:7MDu2bq8NFKbgzzgHYPFRT7bf+SmTchgWuq8ixKK0Jc=
22
github.com/aws-controllers-k8s/ec2-controller v1.0.7/go.mod h1:PvsQehgncHgcu9FiY13M45+GkVsKI98g7G83SrgH7vY=
3-
github.com/aws-controllers-k8s/runtime v0.45.0 h1:b0xCqIE1SNve/jcJPW/QkCGkDmjxWtWTDFHKZpHJcFQ=
4-
github.com/aws-controllers-k8s/runtime v0.45.0/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
3+
github.com/aws-controllers-k8s/runtime v0.46.1 h1:61RU6uYiFSp0cDhv52vAmaPzrebzoudtsp1fGkk6iLk=
4+
github.com/aws-controllers-k8s/runtime v0.46.1/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
55
github.com/aws-controllers-k8s/sns-controller v1.0.11 h1:nnkywTHzO64y7RrrfoPNyYf1TOkkQHtlg+S0jEPKUZ8=
66
github.com/aws-controllers-k8s/sns-controller v1.0.11/go.mod h1:ODQIDZR3hHQqcyif4UXVFQfEzTaWU1jqFtVr83K2p9M=
77
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: elasticache-chart
33
description: A Helm chart for the ACK service controller for Amazon ElastiCache (ElastiCache)
4-
version: 0.2.5
5-
appVersion: 0.2.5
4+
version: 0.2.6
5+
appVersion: 0.2.6
66
home: https://github.com/aws-controllers-k8s/elasticache-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/elasticache-controller:0.2.5".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/elasticache-controller:0.2.6".
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
@@ -59,6 +59,8 @@ spec:
5959
- "$(ACK_WATCH_NAMESPACE)"
6060
- --watch-selectors
6161
- "$(ACK_WATCH_SELECTORS)"
62+
- --reconcile-resources
63+
- "$(RECONCILE_RESOURCES)"
6264
- --deletion-policy
6365
- "$(DELETION_POLICY)"
6466
{{- if .Values.leaderElection.enabled }}
@@ -107,6 +109,8 @@ spec:
107109
value: {{ include "ack-elasticache-controller.watch-namespace" . }}
108110
- name: ACK_WATCH_SELECTORS
109111
value: {{ .Values.watchSelectors }}
112+
- name: RECONCILE_RESOURCES
113+
value: {{ join "," .Values.reconcile.resources | quote }}
110114
- name: DELETION_POLICY
111115
value: {{ .Values.deletionPolicy }}
112116
- name: LEADER_ELECTION_NAMESPACE

helm/values.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,14 @@
239239
},
240240
"resourceMaxConcurrentSyncs": {
241241
"type": "object"
242+
},
243+
"resources": {
244+
"type": "array",
245+
"items": {
246+
"type": "string"
247+
},
248+
"description": "List of resource kinds to reconcile. If empty, all resources will be reconciled.",
249+
"default": []
242250
}
243251
},
244252
"type": "object"

helm/values.yaml

Lines changed: 13 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/elasticache-controller
7-
tag: 0.2.5
7+
tag: 0.2.6
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

@@ -137,6 +137,18 @@ reconcile:
137137
# An object representing the reconcile max concurrent syncs configuration for each specific
138138
# resource.
139139
resourceMaxConcurrentSyncs: {}
140+
141+
# Set the value of resources to specify which resource kinds to reconcile.
142+
# If empty, all resources will be reconciled.
143+
# If specified, only the listed resource kinds will be reconciled.
144+
resources:
145+
- CacheCluster
146+
- CacheParameterGroup
147+
- CacheSubnetGroup
148+
- ReplicationGroup
149+
- Snapshot
150+
- User
151+
- UserGroup
140152

141153
serviceAccount:
142154
# Specifies whether a service account should be created

0 commit comments

Comments
 (0)