Skip to content

Commit 8c5385a

Browse files
authored
Update to ACK runtime v0.43.0, code-generator v0.43.2 (#111)
### Update to ACK runtime `v0.43.0`, code-generator `v0.43.2` ---------- * ACK code-generator `v0.43.2` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.43.2) * 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.24` to `v1.0.25` Once this PR is merged, release `v1.0.25` 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.25 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 113c2a4 commit 8c5385a

11 files changed

+118
-54
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-02-19T23:00:27Z"
3-
build_hash: 8b426c490ff1984d8ce5577e11d6dabe1b6373b8
2+
build_date: "2025-02-20T18:03:42Z"
3+
build_hash: a326346bd3a6973254d247c9ab2dc76790c36241
44
go_version: go1.24.0
5-
version: v0.43.1
6-
api_directory_checksum: c885aae644c017ca0c102acbf9a4a1c77f6e1a59
5+
version: v0.43.2
6+
api_directory_checksum: 02617b06b3a28b7a6321b7067032ce76fef46ae2
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: 7 additions & 12 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: 0 additions & 9 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.24
9+
newTag: 1.0.25

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,38 @@ 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.
4749
type: string
4850
x-kubernetes-validations:
4951
- message: Value is immutable once set
5052
rule: self == oldSelf
5153
registryID:
54+
description: |-
55+
The Amazon Web Services account ID associated with the registry to create
56+
the pull through cache rule for. If you do not specify a registry, the default
57+
registry is assumed.
5258
type: string
5359
x-kubernetes-validations:
5460
- message: Value is immutable once set
5561
rule: self == oldSelf
5662
upstreamRegistryURL:
63+
description: |-
64+
The registry URL of the upstream public registry to use as the source for
65+
the pull through cache rule. The following is the syntax to use for each
66+
supported upstream registry.
67+
68+
* Amazon ECR Public (ecr-public) - public.ecr.aws
69+
70+
* Docker Hub (docker-hub) - registry-1.docker.io
71+
72+
* Quay (quay) - quay.io
73+
74+
* Kubernetes (k8s) - registry.k8s.io
75+
76+
* GitHub Container Registry (github-container-registry) - ghcr.io
77+
78+
* Microsoft Azure Container Registry (azure-container-registry) - .azurecr.io
5779
type: string
5880
x-kubernetes-validations:
5981
- message: Value is immutable once set

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

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,40 +56,57 @@ 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.
7059
properties:
7160
encryptionType:
7261
type: string
7362
kmsKey:
7463
type: string
7564
type: object
7665
imageScanningConfiguration:
77-
description: The image scanning configuration for a repository.
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.
7869
properties:
7970
scanOnPush:
8071
type: boolean
8172
type: object
8273
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.
8379
type: string
8480
lifecyclePolicy:
81+
description: The JSON repository policy text to apply to the repository.
8582
type: string
8683
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.
8791
type: string
8892
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.
8997
type: string
9098
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.
91103
type: string
92104
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.
93110
items:
94111
description: |-
95112
The metadata to apply to a resource to help you categorize and organize them.

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.24
5-
appVersion: 1.0.24
4+
version: 1.0.25
5+
appVersion: 1.0.25
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: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,38 @@ 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.
4749
type: string
4850
x-kubernetes-validations:
4951
- message: Value is immutable once set
5052
rule: self == oldSelf
5153
registryID:
54+
description: |-
55+
The Amazon Web Services account ID associated with the registry to create
56+
the pull through cache rule for. If you do not specify a registry, the default
57+
registry is assumed.
5258
type: string
5359
x-kubernetes-validations:
5460
- message: Value is immutable once set
5561
rule: self == oldSelf
5662
upstreamRegistryURL:
63+
description: |-
64+
The registry URL of the upstream public registry to use as the source for
65+
the pull through cache rule. The following is the syntax to use for each
66+
supported upstream registry.
67+
68+
- Amazon ECR Public (ecr-public) - public.ecr.aws
69+
70+
- Docker Hub (docker-hub) - registry-1.docker.io
71+
72+
- Quay (quay) - quay.io
73+
74+
- Kubernetes (k8s) - registry.k8s.io
75+
76+
- GitHub Container Registry (github-container-registry) - ghcr.io
77+
78+
- Microsoft Azure Container Registry (azure-container-registry) - .azurecr.io
5779
type: string
5880
x-kubernetes-validations:
5981
- message: Value is immutable once set

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

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,40 +56,57 @@ 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.
7059
properties:
7160
encryptionType:
7261
type: string
7362
kmsKey:
7463
type: string
7564
type: object
7665
imageScanningConfiguration:
77-
description: The image scanning configuration for a repository.
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.
7869
properties:
7970
scanOnPush:
8071
type: boolean
8172
type: object
8273
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.
8379
type: string
8480
lifecyclePolicy:
81+
description: The JSON repository policy text to apply to the repository.
8582
type: string
8683
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.
8791
type: string
8892
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.
8997
type: string
9098
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.
91103
type: string
92104
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.
93110
items:
94111
description: |-
95112
The metadata to apply to a resource to help you categorize and organize them.

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/ecr-controller:1.0.24".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/ecr-controller:1.0.25".
33

44
Check its status by running:
55
kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}"

0 commit comments

Comments
 (0)