Skip to content

Commit e91feb9

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

File tree

11 files changed

+24
-17
lines changed

11 files changed

+24
-17
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-06-02T19:16:42Z"
3-
build_hash: abd45b45e7726b7893641afaeae805281358e684
4-
go_version: go1.24.2
5-
version: v0.47.2
2+
build_date: "2025-06-10T23:42:56Z"
3+
build_hash: e675923dfc54d8b6e09730098c3e3e1056d3c1e9
4+
go_version: go1.24.3
5+
version: v0.48.0
66
api_directory_checksum: 1f4208ba97caf6e9f52dc317cdc9ed1925d1fe6b
77
api_version: v1alpha1
88
aws_sdk_go_version: 1.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/cloudwatchlogs-controller
9-
newTag: 1.0.11
9+
newTag: 1.0.12

config/controller/service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ spec:
1111
port: 8080
1212
targetPort: http
1313
protocol: TCP
14-
type: NodePort
14+
type: ClusterIP

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/kms-controller v1.0.4
9-
github.com/aws-controllers-k8s/runtime v0.47.0
9+
github.com/aws-controllers-k8s/runtime v0.48.0
1010
github.com/aws/aws-sdk-go v1.49.0
1111
github.com/aws/aws-sdk-go-v2 v1.36.0
1212
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.45.10
@@ -70,7 +70,7 @@ require (
7070
go.uber.org/multierr v1.11.0 // indirect
7171
go.uber.org/zap v1.27.0 // indirect
7272
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
73-
golang.org/x/net v0.37.0 // indirect
73+
golang.org/x/net v0.38.0 // indirect
7474
golang.org/x/oauth2 v0.23.0 // indirect
7575
golang.org/x/sync v0.12.0 // indirect
7676
golang.org/x/sys v0.31.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/kms-controller v1.0.4 h1:ZYMKrMn/wYYzeydWN2Mj7ZLbtKMDbeFV8grJfE5PysI=
22
github.com/aws-controllers-k8s/kms-controller v1.0.4/go.mod h1:rZDijL93pM79Oj7BCj1YpqHI+kc2+RwbtY4spkupmO0=
3-
github.com/aws-controllers-k8s/runtime v0.47.0 h1:pWzMLrwAFrAmMuSukYDLrQp5Yw594w1ke6XWGmI3uyo=
4-
github.com/aws-controllers-k8s/runtime v0.47.0/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
3+
github.com/aws-controllers-k8s/runtime v0.48.0 h1:DnbLQ7gbhQfpOTviR+r+svLjvKhRhxRuNEZo6okZYro=
4+
github.com/aws-controllers-k8s/runtime v0.48.0/go.mod h1:XNEBK9jN8n19dtHrprn+WlBq9wUc0RspuCmeT4nXb0s=
55
github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY=
66
github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
77
github.com/aws/aws-sdk-go-v2 v1.36.0 h1:b1wM5CcE65Ujwn565qcwgtOTT1aT4ADOHHgglKjG7fk=
@@ -175,8 +175,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
175175
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
176176
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
177177
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
178-
golang.org/x/net v0.37.0 h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c=
179-
golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
178+
golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8=
179+
golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8=
180180
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
181181
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
182182
golang.org/x/sync v0.0.0-20190423024810-112230192c58/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: cloudwatchlogs-chart
33
description: A Helm chart for the ACK service controller for Amazon CloudWatch Logs (CloudWatch Logs)
4-
version: 1.0.11
5-
appVersion: 1.0.11
4+
version: 1.0.12
5+
appVersion: 1.0.12
66
home: https://github.com/aws-controllers-k8s/cloudwatchlogs-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/cloudwatchlogs-controller:1.0.11".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/cloudwatchlogs-controller:1.0.12".
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,6 @@ spec:
204204
{{- if .Values.deployment.extraVolumes }}
205205
{{ toYaml .Values.deployment.extraVolumes | indent 8}}
206206
{{- end }}
207+
{{- with .Values.deployment.strategy }}
208+
strategy: {{- toYaml . | nindent 4 }}
209+
{{- end }}

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/cloudwatchlogs-controller
7-
tag: 1.0.11
7+
tag: 1.0.12
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

@@ -41,6 +41,9 @@ deployment:
4141
# To have DNS options set along with hostNetwork, you have to specify DNS policy
4242
# explicitly to 'ClusterFirstWithHostNet'.
4343
dnsPolicy: ClusterFirst
44+
# Set rollout strategy for deployment.
45+
# See: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
46+
strategy: {}
4447
extraVolumes: []
4548
extraVolumeMounts: []
4649

pkg/resource/log_group/hook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
svcsdktypes "github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs/types"
2323
"github.com/aws/aws-sdk-go/aws"
2424

25-
"github.com/aws-controllers-k8s/cloudwatchlogs-controller/pkg/sync"
2625
svcapitypes "github.com/aws-controllers-k8s/cloudwatchlogs-controller/apis/v1alpha1"
26+
"github.com/aws-controllers-k8s/cloudwatchlogs-controller/pkg/sync"
2727
)
2828

2929
func (rm *resourceManager) updateRetentionPeriod(

0 commit comments

Comments
 (0)