Skip to content

Commit b4846c4

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

13 files changed

+40
-16
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2025-05-13T05:12:34Z"
3-
build_hash: 55bf57b2806c33a7fcd074be403f26ce3f8e58db
2+
build_date: "2025-05-24T00:44:34Z"
3+
build_hash: 66a58d259146834e61b211a9a01609beaa58ef77
44
go_version: go1.24.2
5-
version: v0.46.2
6-
api_directory_checksum: 02617b06b3a28b7a6321b7067032ce76fef46ae2
5+
version: v0.47.1
6+
api_directory_checksum: b1483b12f27211a1ddd173b9d2b87b0d1e6065a4
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

apis/v1alpha1/pull_through_cache_rule.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/repository.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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/ecr-controller
9-
newTag: 1.0.28
9+
newTag: 1.0.29

config/crd/bases/ecr.services.k8s.aws_pullthroughcacherules.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ spec:
4444
The details of a pull through cache rule.
4545
properties:
4646
ecrRepositoryPrefix:
47-
description: The repository name prefix to use when caching images
48-
from the source registry.
47+
description: |-
48+
The repository name prefix to use when caching images from the source registry.
49+
50+
Regex Pattern: `^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*$`
4951
type: string
5052
x-kubernetes-validations:
5153
- message: Value is immutable once set
@@ -55,6 +57,8 @@ spec:
5557
The Amazon Web Services account ID associated with the registry to create
5658
the pull through cache rule for. If you do not specify a registry, the default
5759
registry is assumed.
60+
61+
Regex Pattern: `^[0-9]{12}$`
5862
type: string
5963
x-kubernetes-validations:
6064
- message: Value is immutable once set

config/crd/bases/ecr.services.k8s.aws_repositories.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ spec:
8888
8989
The repository name must start with a letter and can only contain lowercase
9090
letters, numbers, hyphens, underscores, and forward slashes.
91+
92+
Regex Pattern: `^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*$`
9193
type: string
9294
policy:
9395
description: |-
@@ -100,6 +102,8 @@ spec:
100102
The Amazon Web Services account ID associated with the registry to create
101103
the repository. If you do not specify a registry, the default registry is
102104
assumed.
105+
106+
Regex Pattern: `^[0-9]{12}$`
103107
type: string
104108
tags:
105109
description: |-

go.mod

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

77
require (
8-
github.com/aws-controllers-k8s/runtime v0.46.1
8+
github.com/aws-controllers-k8s/runtime v0.47.0
99
github.com/aws/aws-sdk-go v1.49.0
1010
github.com/aws/aws-sdk-go-v2 v1.33.0
1111
github.com/aws/aws-sdk-go-v2/service/ecr v1.38.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/aws-controllers-k8s/runtime v0.46.1 h1:61RU6uYiFSp0cDhv52vAmaPzrebzoudtsp1fGkk6iLk=
2-
github.com/aws-controllers-k8s/runtime v0.46.1/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
1+
github.com/aws-controllers-k8s/runtime v0.47.0 h1:pWzMLrwAFrAmMuSukYDLrQp5Yw594w1ke6XWGmI3uyo=
2+
github.com/aws-controllers-k8s/runtime v0.47.0/go.mod h1:G2UMBKA7qgXG4JV16NTIUp715uqvUEvWaa7TG1I527U=
33
github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY=
44
github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
55
github.com/aws/aws-sdk-go-v2 v1.33.0 h1:Evgm4DI9imD81V0WwD+TN4DCwjUMdc94TrduMLbgZJs=

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: ecr-chart
33
description: A Helm chart for the ACK service controller for Amazon Elastic Container Registry (ECR)
4-
version: 1.0.28
5-
appVersion: 1.0.28
4+
version: 1.0.29
5+
appVersion: 1.0.29
66
home: https://github.com/aws-controllers-k8s/ecr-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/crds/ecr.services.k8s.aws_pullthroughcacherules.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ spec:
4444
The details of a pull through cache rule.
4545
properties:
4646
ecrRepositoryPrefix:
47-
description: The repository name prefix to use when caching images
48-
from the source registry.
47+
description: |-
48+
The repository name prefix to use when caching images from the source registry.
49+
50+
Regex Pattern: `^(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*[a-z0-9]+(?:[._-][a-z0-9]+)*$`
4951
type: string
5052
x-kubernetes-validations:
5153
- message: Value is immutable once set
@@ -55,6 +57,8 @@ spec:
5557
The Amazon Web Services account ID associated with the registry to create
5658
the pull through cache rule for. If you do not specify a registry, the default
5759
registry is assumed.
60+
61+
Regex Pattern: `^[0-9]{12}$`
5862
type: string
5963
x-kubernetes-validations:
6064
- message: Value is immutable once set

0 commit comments

Comments
 (0)