Skip to content

Commit ac47345

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

File tree

8 files changed

+22
-18
lines changed

8 files changed

+22
-18
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-07-15T03:17:32Z"
3-
build_hash: c6808295bbb03aac999713ecf1f3aa5cd698a17e
4-
go_version: go1.24.4
5-
version: v0.49.0
2+
build_date: "2025-07-22T21:46:49Z"
3+
build_hash: b2dc0f44e0b08f041de14c3944a5cc005ba97c8f
4+
go_version: go1.24.5
5+
version: v0.50.0
66
api_directory_checksum: e7d8480a655968a4f441db9509fd5561aa5eb1c4
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: 1.0.5
9+
newTag: 1.0.6

go.mod

Lines changed: 2 additions & 2 deletions
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.49.0
9+
github.com/aws-controllers-k8s/runtime v0.50.0
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
@@ -71,7 +71,7 @@ require (
7171
go.uber.org/zap v1.27.0 // indirect
7272
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
7373
golang.org/x/net v0.38.0 // indirect
74-
golang.org/x/oauth2 v0.23.0 // indirect
74+
golang.org/x/oauth2 v0.27.0 // indirect
7575
golang.org/x/sync v0.12.0 // indirect
7676
golang.org/x/sys v0.31.0 // indirect
7777
golang.org/x/term v0.30.0 // indirect

go.sum

Lines changed: 4 additions & 4 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.49.0 h1:ldCW04WwjrgeTE4W+VpAssojfrK343/jcbdRYFYxKnU=
4-
github.com/aws-controllers-k8s/runtime v0.49.0/go.mod h1:XNEBK9jN8n19dtHrprn+WlBq9wUc0RspuCmeT4nXb0s=
3+
github.com/aws-controllers-k8s/runtime v0.50.0 h1:6BXOBdnb+xw6uSMEDeALhTKc4veZR9NfXIsl5QJKZ8k=
4+
github.com/aws-controllers-k8s/runtime v0.50.0/go.mod h1:OkUJN+Ds799JLYZsMJrO2vDJ4snxUeHK2MgrQHbU+Qc=
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=
@@ -177,8 +177,8 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL
177177
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
178178
golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
179179
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
180-
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
181-
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
180+
golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=
181+
golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
182182
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
183183
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
184184
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

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: 1.0.5
5-
appVersion: 1.0.5
4+
version: 1.0.6
5+
appVersion: 1.0.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:1.0.5".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/elasticache-controller:1.0.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: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ spec:
148148
{{- if .Values.deployment.extraEnvVars -}}
149149
{{ toYaml .Values.deployment.extraEnvVars | nindent 8 }}
150150
{{- end }}
151+
{{- if or .Values.aws.credentials.secretName .Values.deployment.extraVolumeMounts }}
151152
volumeMounts:
152153
{{- if .Values.aws.credentials.secretName }}
153154
- name: {{ .Values.aws.credentials.secretName }}
@@ -157,6 +158,7 @@ spec:
157158
{{- if .Values.deployment.extraVolumeMounts -}}
158159
{{ toYaml .Values.deployment.extraVolumeMounts | nindent 10 }}
159160
{{- end }}
161+
{{- end }}
160162
securityContext:
161163
allowPrivilegeEscalation: false
162164
privileged: false
@@ -195,15 +197,17 @@ spec:
195197
hostPID: false
196198
hostNetwork: {{ .Values.deployment.hostNetwork }}
197199
dnsPolicy: {{ .Values.deployment.dnsPolicy }}
200+
{{- if or .Values.aws.credentials.secretName .Values.deployment.extraVolumes }}
198201
volumes:
199202
{{- if .Values.aws.credentials.secretName }}
200203
- name: {{ .Values.aws.credentials.secretName }}
201204
secret:
202205
secretName: {{ .Values.aws.credentials.secretName }}
203206
{{- end }}
204-
{{- if .Values.deployment.extraVolumes }}
205-
{{ toYaml .Values.deployment.extraVolumes | indent 8}}
206-
{{- end }}
207+
{{- if .Values.deployment.extraVolumes }}
208+
{{ toYaml .Values.deployment.extraVolumes | indent 8 }}
209+
{{- end }}
210+
{{- end }}
207211
{{- with .Values.deployment.strategy }}
208212
strategy: {{- toYaml . | nindent 4 }}
209213
{{- end }}

helm/values.yaml

Lines changed: 1 addition & 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: 1.0.5
7+
tag: 1.0.6
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

0 commit comments

Comments
 (0)