diff --git a/apis/v1alpha1/ack-generate-metadata.yaml b/apis/v1alpha1/ack-generate-metadata.yaml index fe1e8c3..8273213 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-22T22:25:01Z" - build_hash: b2dc0f44e0b08f041de14c3944a5cc005ba97c8f - go_version: go1.24.5 - version: v0.50.0 + build_date: "2025-08-14T23:56:27Z" + build_hash: b6df33f8c7f55b234555c0b578b8de43c74771a8 + go_version: go1.24.6 + version: v0.51.0 api_directory_checksum: cecde4bc0ce694585e9462fa53af0a5f58ffc8b5 api_version: v1alpha1 aws_sdk_go_version: v1.32.6 diff --git a/config/controller/kustomization.yaml b/config/controller/kustomization.yaml index 5a183c6..7a65879 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/keyspaces-controller - newTag: 1.0.14 + newTag: 1.1.0 diff --git a/go.mod b/go.mod index 587b065..5a232dc 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.24.0 toolchain go1.24.1 require ( - github.com/aws-controllers-k8s/runtime v0.50.0 + github.com/aws-controllers-k8s/runtime v0.51.0 github.com/aws/aws-sdk-go v1.49.8 github.com/aws/aws-sdk-go-v2 v1.34.0 github.com/aws/aws-sdk-go-v2/service/keyspaces v1.16.7 diff --git a/go.sum b/go.sum index 64be586..ba50ce9 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -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/runtime v0.51.0 h1:ZKu1DXPG7+CsvbEPLMCGqWFdfK37kSbceLzYf9lRZbw= +github.com/aws-controllers-k8s/runtime v0.51.0/go.mod h1:OkUJN+Ds799JLYZsMJrO2vDJ4snxUeHK2MgrQHbU+Qc= github.com/aws/aws-sdk-go v1.49.8 h1:gKgEiyJ8CPnr4r6pS06WfNXvp6z34JER1pBIwuocvVA= github.com/aws/aws-sdk-go v1.49.8/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/aws/aws-sdk-go-v2 v1.34.0 h1:9iyL+cjifckRGEVpRKZP3eIxVlL06Qk1Tk13vreaVQU= diff --git a/helm/Chart.yaml b/helm/Chart.yaml index a484c3f..a8571a3 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 name: keyspaces-chart description: A Helm chart for the ACK service controller for Amazon Keyspaces (Keyspaces) -version: 1.0.14 -appVersion: 1.0.14 +version: 1.1.0 +appVersion: 1.1.0 home: https://github.com/aws-controllers-k8s/keyspaces-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 26fe3fb..6fdef64 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/keyspaces-controller:1.0.14". +This chart deploys "public.ecr.aws/aws-controllers-k8s/keyspaces-controller:1.1.0". Check its status by running: kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}" diff --git a/helm/templates/caches-role-binding.yaml b/helm/templates/caches-role-binding.yaml index 421ae35..8ae71b9 100644 --- a/helm/templates/caches-role-binding.yaml +++ b/helm/templates/caches-role-binding.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: {{ include "ack-keyspaces-controller.app.fullname" . }}-namespace-caches + name: {{ include "ack-keyspaces-controller.app.fullname" . }}-namespaces-cache labels: app.kubernetes.io/name: {{ include "ack-keyspaces-controller.app.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} @@ -12,7 +12,7 @@ metadata: roleRef: kind: ClusterRole apiGroup: rbac.authorization.k8s.io - name: {{ include "ack-keyspaces-controller.app.fullname" . }}-namespace-caches + name: {{ include "ack-keyspaces-controller.app.fullname" . }}-namespaces-cache subjects: - kind: ServiceAccount name: {{ include "ack-keyspaces-controller.service-account.name" . }} diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 8680b81..2592425 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -205,7 +205,7 @@ spec: secretName: {{ .Values.aws.credentials.secretName }} {{- end }} {{- if .Values.deployment.extraVolumes }} - {{ toYaml .Values.deployment.extraVolumes | indent 8 }} + {{- toYaml .Values.deployment.extraVolumes | nindent 8 }} {{- end }} {{- end }} {{- with .Values.deployment.strategy }} diff --git a/helm/values.yaml b/helm/values.yaml index 89905b3..c976756 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/aws-controllers-k8s/keyspaces-controller - tag: 1.0.14 + tag: 1.1.0 pullPolicy: IfNotPresent pullSecrets: [] @@ -177,6 +177,6 @@ featureGates: # Enables the Team level granularity for CARM. See https://github.com/aws-controllers-k8s/community/issues/2031 TeamLevelCARM: false # Enable ReadOnlyResources feature/annotation. - ReadOnlyResources: false + ReadOnlyResources: true # Enable ResourceAdoption feature/annotation. - ResourceAdoption: false \ No newline at end of file + ResourceAdoption: true \ No newline at end of file diff --git a/pkg/resource/table/sdk.go b/pkg/resource/table/sdk.go index 1bff274..35d678d 100644 --- a/pkg/resource/table/sdk.go +++ b/pkg/resource/table/sdk.go @@ -348,7 +348,7 @@ func (rm *resourceManager) newCreateRequestPayload( if r.ko.Spec.DefaultTimeToLive != nil { defaultTimeToLiveCopy0 := *r.ko.Spec.DefaultTimeToLive if defaultTimeToLiveCopy0 > math.MaxInt32 || defaultTimeToLiveCopy0 < math.MinInt32 { - return nil, fmt.Errorf("error: field DefaultTimeToLive is of type int32") + return nil, fmt.Errorf("error: field defaultTimeToLive is of type int32") } defaultTimeToLiveCopy := int32(defaultTimeToLiveCopy0) res.DefaultTimeToLive = &defaultTimeToLiveCopy