Skip to content

Commit 113c2a4

Browse files
authored
Update to ACK runtime v0.43.0, code-generator v0.43.1 (#110)
### Update to ACK runtime `v0.43.0`, code-generator `v0.43.1` ---------- * ACK code-generator `v0.43.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.43.1) * ACK runtime `v0.43.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.43.0) ---------- NOTE: This PR increments the release version of service controller from `v1.0.23` to `v1.0.24` Once this PR is merged, release `v1.0.24` 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.24 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 ae289e5 commit 113c2a4

12 files changed

+82
-147
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2025-02-18T01:01:19Z"
3-
build_hash: 66c0f840b0bcf6f552be46cf5ee0fb95ad57053e
4-
go_version: go1.23.6
5-
version: v0.43.0
6-
api_directory_checksum: aedfd16c7658390ca031bad4ca0c8e0c077fa3e5
2+
build_date: "2025-02-19T23:00:27Z"
3+
build_hash: 8b426c490ff1984d8ce5577e11d6dabe1b6373b8
4+
go_version: go1.24.0
5+
version: v0.43.1
6+
api_directory_checksum: c885aae644c017ca0c102acbf9a4a1c77f6e1a59
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: 16 additions & 8 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: 10 additions & 1 deletion
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.23
9+
newTag: 1.0.24

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

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,33 +44,20 @@ 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.
4947
type: string
48+
x-kubernetes-validations:
49+
- message: Value is immutable once set
50+
rule: self == oldSelf
5051
registryID:
51-
description: |-
52-
The Amazon Web Services account ID associated with the registry to create
53-
the pull through cache rule for. If you do not specify a registry, the default
54-
registry is assumed.
5552
type: string
53+
x-kubernetes-validations:
54+
- message: Value is immutable once set
55+
rule: self == oldSelf
5656
upstreamRegistryURL:
57-
description: |-
58-
The registry URL of the upstream public registry to use as the source for
59-
the pull through cache rule. The following is the syntax to use for each
60-
supported upstream registry.
61-
62-
* Amazon ECR Public (ecr-public) - public.ecr.aws
63-
64-
* Docker Hub (docker-hub) - registry-1.docker.io
65-
66-
* Quay (quay) - quay.io
67-
68-
* Kubernetes (k8s) - registry.k8s.io
69-
70-
* GitHub Container Registry (github-container-registry) - ghcr.io
71-
72-
* Microsoft Azure Container Registry (azure-container-registry) - .azurecr.io
7357
type: string
58+
x-kubernetes-validations:
59+
- message: Value is immutable once set
60+
rule: self == oldSelf
7461
required:
7562
- ecrRepositoryPrefix
7663
- upstreamRegistryURL
@@ -110,7 +97,7 @@ spec:
11097
type: object
11198
conditions:
11299
description: |-
113-
All CRS managed by ACK have a common `Status.Conditions` member that
100+
All CRs managed by ACK have a common `Status.Conditions` member that
114101
contains a collection of `ackv1alpha1.Condition` objects that describe
115102
the various terminal states of the CR and its backend AWS service API
116103
resource

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

Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -56,57 +56,40 @@ spec:
5656
description: |-
5757
The encryption configuration for the repository. This determines how the
5858
contents of your repository are encrypted at rest.
59+
60+
By default, when no encryption configuration is set or the AES256 encryption
61+
type is used, Amazon ECR uses server-side encryption with Amazon S3-managed
62+
encryption keys which encrypts your data at rest using an AES256 encryption
63+
algorithm. This does not require any action on your part.
64+
65+
For more control over the encryption of the contents of your repository,
66+
you can use server-side encryption with Key Management Service key stored
67+
in Key Management Service (KMS) to encrypt your images. For more information,
68+
see Amazon ECR encryption at rest (https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html)
69+
in the Amazon Elastic Container Registry User Guide.
5970
properties:
6071
encryptionType:
6172
type: string
6273
kmsKey:
6374
type: string
6475
type: object
6576
imageScanningConfiguration:
66-
description: |-
67-
The image scanning configuration for the repository. This determines whether
68-
images are scanned for known vulnerabilities after being pushed to the repository.
77+
description: The image scanning configuration for a repository.
6978
properties:
7079
scanOnPush:
7180
type: boolean
7281
type: object
7382
imageTagMutability:
74-
description: |-
75-
The tag mutability setting for the repository. If this parameter is omitted,
76-
the default setting of MUTABLE will be used which will allow image tags to
77-
be overwritten. If IMMUTABLE is specified, all image tags within the repository
78-
will be immutable which will prevent them from being overwritten.
7983
type: string
8084
lifecyclePolicy:
81-
description: The JSON repository policy text to apply to the repository.
8285
type: string
8386
name:
84-
description: |-
85-
The name to use for the repository. The repository name may be specified
86-
on its own (such as nginx-web-app) or it can be prepended with a namespace
87-
to group the repository into a category (such as project-a/nginx-web-app).
88-
89-
The repository name must start with a letter and can only contain lowercase
90-
letters, numbers, hyphens, underscores, and forward slashes.
9187
type: string
9288
policy:
93-
description: |-
94-
The JSON repository policy text to apply to the repository. For more information,
95-
see Amazon ECR repository policies (https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html)
96-
in the Amazon Elastic Container Registry User Guide.
9789
type: string
9890
registryID:
99-
description: |-
100-
The Amazon Web Services account ID associated with the registry to create
101-
the repository. If you do not specify a registry, the default registry is
102-
assumed.
10391
type: string
10492
tags:
105-
description: |-
106-
The metadata that you apply to the repository to help you categorize and
107-
organize them. Each tag consists of a key and an optional value, both of
108-
which you define. Tag keys can have a maximum character length of 128 characters,
109-
and tag values can have a maximum length of 256 characters.
11093
items:
11194
description: |-
11295
The metadata to apply to a resource to help you categorize and organize them.
@@ -157,7 +140,7 @@ spec:
157140
type: object
158141
conditions:
159142
description: |-
160-
All CRS managed by ACK have a common `Status.Conditions` member that
143+
All CRs managed by ACK have a common `Status.Conditions` member that
161144
contains a collection of `ackv1alpha1.Condition` objects that describe
162145
the various terminal states of the CR and its backend AWS service API
163146
resource

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.23
5-
appVersion: 1.0.23
4+
version: 1.0.24
5+
appVersion: 1.0.24
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: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,33 +44,20 @@ 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.
4947
type: string
48+
x-kubernetes-validations:
49+
- message: Value is immutable once set
50+
rule: self == oldSelf
5051
registryID:
51-
description: |-
52-
The Amazon Web Services account ID associated with the registry to create
53-
the pull through cache rule for. If you do not specify a registry, the default
54-
registry is assumed.
5552
type: string
53+
x-kubernetes-validations:
54+
- message: Value is immutable once set
55+
rule: self == oldSelf
5656
upstreamRegistryURL:
57-
description: |-
58-
The registry URL of the upstream public registry to use as the source for
59-
the pull through cache rule. The following is the syntax to use for each
60-
supported upstream registry.
61-
62-
- Amazon ECR Public (ecr-public) - public.ecr.aws
63-
64-
- Docker Hub (docker-hub) - registry-1.docker.io
65-
66-
- Quay (quay) - quay.io
67-
68-
- Kubernetes (k8s) - registry.k8s.io
69-
70-
- GitHub Container Registry (github-container-registry) - ghcr.io
71-
72-
- Microsoft Azure Container Registry (azure-container-registry) - .azurecr.io
7357
type: string
58+
x-kubernetes-validations:
59+
- message: Value is immutable once set
60+
rule: self == oldSelf
7461
required:
7562
- ecrRepositoryPrefix
7663
- upstreamRegistryURL
@@ -110,7 +97,7 @@ spec:
11097
type: object
11198
conditions:
11299
description: |-
113-
All CRS managed by ACK have a common `Status.Conditions` member that
100+
All CRs managed by ACK have a common `Status.Conditions` member that
114101
contains a collection of `ackv1alpha1.Condition` objects that describe
115102
the various terminal states of the CR and its backend AWS service API
116103
resource

0 commit comments

Comments
 (0)