From 84c7f599f3ccdb6c289976556f4ec0d0a99378cf Mon Sep 17 00:00:00 2001 From: ci-robot Date: Tue, 22 Jul 2025 22:24:51 +0000 Subject: [PATCH] Update to ACK runtime `v0.50.0`, code-generator `v0.50.0` --- apis/v1alpha1/ack-generate-metadata.yaml | 6 +++--- config/controller/kustomization.yaml | 2 +- go.mod | 4 ++-- go.sum | 8 ++++---- helm/Chart.yaml | 4 ++-- helm/templates/NOTES.txt | 2 +- helm/templates/deployment.yaml | 10 +++++++--- helm/values.yaml | 2 +- 8 files changed, 21 insertions(+), 17 deletions(-) diff --git a/apis/v1alpha1/ack-generate-metadata.yaml b/apis/v1alpha1/ack-generate-metadata.yaml index e5f6fb6..b6628d7 100755 --- a/apis/v1alpha1/ack-generate-metadata.yaml +++ b/apis/v1alpha1/ack-generate-metadata.yaml @@ -1,8 +1,8 @@ ack_generate_info: - build_date: "2025-07-16T21:43:16Z" - build_hash: c6808295bbb03aac999713ecf1f3aa5cd698a17e + build_date: "2025-07-22T22:24:13Z" + build_hash: b2dc0f44e0b08f041de14c3944a5cc005ba97c8f go_version: go1.24.5 - version: v0.49.0 + version: v0.50.0 api_directory_checksum: f450e33f8433d18a9b5ac9dbecc6d2652d4f8513 api_version: v1alpha1 aws_sdk_go_version: v1.32.6 diff --git a/config/controller/kustomization.yaml b/config/controller/kustomization.yaml index 84ea4a9..b9a8739 100644 --- a/config/controller/kustomization.yaml +++ b/config/controller/kustomization.yaml @@ -6,4 +6,4 @@ kind: Kustomization images: - name: controller newName: public.ecr.aws/aws-controllers-k8s/lambda-controller - newTag: 1.7.6 + newTag: 1.7.7 diff --git a/go.mod b/go.mod index a902050..357138c 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/aws-controllers-k8s/kafka-controller v0.0.0-20230615185632-102279061de1 github.com/aws-controllers-k8s/kms-controller v0.1.2 github.com/aws-controllers-k8s/mq-controller v0.0.22 - github.com/aws-controllers-k8s/runtime v0.49.0 + github.com/aws-controllers-k8s/runtime v0.50.0 github.com/aws-controllers-k8s/s3-controller v0.1.5 github.com/aws/aws-sdk-go v1.49.0 github.com/aws/aws-sdk-go-v2 v1.34.0 @@ -78,7 +78,7 @@ require ( go.uber.org/zap v1.27.0 // indirect golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect golang.org/x/net v0.38.0 // indirect - golang.org/x/oauth2 v0.23.0 // indirect + golang.org/x/oauth2 v0.27.0 // indirect golang.org/x/sync v0.12.0 // indirect golang.org/x/sys v0.31.0 // indirect golang.org/x/term v0.30.0 // indirect diff --git a/go.sum b/go.sum index e0d5ce7..fe5fdf7 100644 --- a/go.sum +++ b/go.sum @@ -8,8 +8,8 @@ github.com/aws-controllers-k8s/kms-controller v0.1.2 h1:9lb98jspqOpFpmIFHOJ6pRnO github.com/aws-controllers-k8s/kms-controller v0.1.2/go.mod h1:6CoV0UMFd03EUF9dXgOTTScGdBhJzsWn9W0dw2n0kA4= github.com/aws-controllers-k8s/mq-controller v0.0.22 h1:XxFSQL9yaaiiuZ6E/fh/+Y9C+3DG2c5oXWG/4ZNwd1w= github.com/aws-controllers-k8s/mq-controller v0.0.22/go.mod h1:p+YVFjpwlgRC+1cPeCabk1xTB1hTCU+RwYtFzrTnJmE= -github.com/aws-controllers-k8s/runtime v0.49.0 h1:ldCW04WwjrgeTE4W+VpAssojfrK343/jcbdRYFYxKnU= -github.com/aws-controllers-k8s/runtime v0.49.0/go.mod h1:XNEBK9jN8n19dtHrprn+WlBq9wUc0RspuCmeT4nXb0s= +github.com/aws-controllers-k8s/runtime v0.50.0 h1:6BXOBdnb+xw6uSMEDeALhTKc4veZR9NfXIsl5QJKZ8k= +github.com/aws-controllers-k8s/runtime v0.50.0/go.mod h1:OkUJN+Ds799JLYZsMJrO2vDJ4snxUeHK2MgrQHbU+Qc= github.com/aws-controllers-k8s/s3-controller v0.1.5 h1:5zb7jsh0fgbPM8cIvcsuH1dta1dKzaAnlwgvb6u3hOc= github.com/aws-controllers-k8s/s3-controller v0.1.5/go.mod h1:8Z8JlO5Hc1dZX2YELu94+lnOgKM0FioAHJBsyaWvtx8= github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY= @@ -191,8 +191,8 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.38.0 h1:vRMAPTMaeGqVhG5QyLJHqNDwecKTomGeqbnfZyKlBI8= golang.org/x/net v0.38.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= -golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs= -golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M= +golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 3e2f602..fbaa10e 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 name: lambda-chart description: A Helm chart for the ACK service controller for AWS Lambda (Lambda) -version: 1.7.6 -appVersion: 1.7.6 +version: 1.7.7 +appVersion: 1.7.7 home: https://github.com/aws-controllers-k8s/lambda-controller icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png sources: diff --git a/helm/templates/NOTES.txt b/helm/templates/NOTES.txt index 044d656..1ba90de 100644 --- a/helm/templates/NOTES.txt +++ b/helm/templates/NOTES.txt @@ -1,5 +1,5 @@ {{ .Chart.Name }} has been installed. -This chart deploys "public.ecr.aws/aws-controllers-k8s/lambda-controller:1.7.6". +This chart deploys "public.ecr.aws/aws-controllers-k8s/lambda-controller:1.7.7". Check its status by running: kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}" diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 1afa8a4..5bcf606 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -148,6 +148,7 @@ spec: {{- if .Values.deployment.extraEnvVars -}} {{ toYaml .Values.deployment.extraEnvVars | nindent 8 }} {{- end }} + {{- if or .Values.aws.credentials.secretName .Values.deployment.extraVolumeMounts }} volumeMounts: {{- if .Values.aws.credentials.secretName }} - name: {{ .Values.aws.credentials.secretName }} @@ -157,6 +158,7 @@ spec: {{- if .Values.deployment.extraVolumeMounts -}} {{ toYaml .Values.deployment.extraVolumeMounts | nindent 10 }} {{- end }} + {{- end }} securityContext: allowPrivilegeEscalation: false privileged: false @@ -195,15 +197,17 @@ spec: hostPID: false hostNetwork: {{ .Values.deployment.hostNetwork }} dnsPolicy: {{ .Values.deployment.dnsPolicy }} + {{- if or .Values.aws.credentials.secretName .Values.deployment.extraVolumes }} volumes: {{- if .Values.aws.credentials.secretName }} - name: {{ .Values.aws.credentials.secretName }} secret: secretName: {{ .Values.aws.credentials.secretName }} {{- end }} -{{- if .Values.deployment.extraVolumes }} -{{ toYaml .Values.deployment.extraVolumes | indent 8}} -{{- end }} + {{- if .Values.deployment.extraVolumes }} + {{ toYaml .Values.deployment.extraVolumes | indent 8 }} + {{- end }} + {{- end }} {{- with .Values.deployment.strategy }} strategy: {{- toYaml . | nindent 4 }} {{- end }} diff --git a/helm/values.yaml b/helm/values.yaml index 4310707..d247928 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/aws-controllers-k8s/lambda-controller - tag: 1.7.6 + tag: 1.7.7 pullPolicy: IfNotPresent pullSecrets: []