Skip to content

Commit cc4faea

Browse files
authored
Update to ACK runtime v0.47.0, code-generator v0.47.1 (#21)
### 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.8` to `v1.0.9` Once this PR is merged, release `v1.0.9` will be automatically created for `codeartifact-controller` **Please close this PR, if you do not want the new patch release for `codeartifact-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building codeartifact-controller ==== Copying common custom resource definitions into codeartifact Building Kubernetes API objects for codeartifact Generating deepcopy code for codeartifact Generating custom resource definitions for codeartifact Building service controller for codeartifact Running GO mod tidy Generating RBAC manifests for codeartifact Running gofmt against generated code for codeartifact Updating additional GitHub repository maintenance files ==== building codeartifact-controller release artifacts ==== Building release artifacts for codeartifact-v1.0.9 Generating common custom resource definitions Generating custom resource definitions for codeartifact Generating RBAC manifests for codeartifact ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent fc56cd3 commit cc4faea

13 files changed

+92
-24
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-13T04:52:37Z"
3-
build_hash: 55bf57b2806c33a7fcd074be403f26ce3f8e58db
2+
build_date: "2025-05-24T00:43:11Z"
3+
build_hash: 66a58d259146834e61b211a9a01609beaa58ef77
44
go_version: go1.24.2
5-
version: v0.46.2
6-
api_directory_checksum: 73ba0942f1950c4700c2bff40dda380d5994ca6b
5+
version: v0.47.1
6+
api_directory_checksum: d5e87ff9a33705cb68e63261c1966a4a59fc4bd5
77
api_version: v1alpha1
88
aws_sdk_go_version: 1.32.6
99
generator_config_info:

apis/v1alpha1/domain.go

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

apis/v1alpha1/package_group.go

Lines changed: 12 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/codeartifact-controller
9-
newTag: 1.0.8
9+
newTag: 1.0.9

config/crd/bases/codeartifact.services.k8s.aws_domains.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,17 @@ spec:
5454
CMK with your domain. For more information, see Using symmetric and asymmetric
5555
keys (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html)
5656
in the Key Management Service Developer Guide.
57+
58+
Regex Pattern: `^\S+$`
5759
type: string
5860
name:
5961
description: |-
6062
The name of the domain to create. All domain names in an Amazon Web Services
6163
Region that are in the same Amazon Web Services account must be unique. The
6264
domain name is used as the prefix in DNS hostnames. Do not use sensitive
6365
information in a domain name because it is publicly discoverable.
66+
67+
Regex Pattern: `^[a-z][a-z0-9\-]{0,48}[a-z0-9]$`
6468
type: string
6569
tags:
6670
description: One or more tag key-value pairs for the domain.
@@ -155,7 +159,10 @@ spec:
155159
format: date-time
156160
type: string
157161
owner:
158-
description: The Amazon Web Services account ID that owns the domain.
162+
description: |-
163+
The Amazon Web Services account ID that owns the domain.
164+
165+
Regex Pattern: `^[0-9]{12}$`
159166
type: string
160167
repositoryCount:
161168
description: The number of repositories in the domain.
@@ -165,6 +172,8 @@ spec:
165172
description: |-
166173
The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store
167174
package assets in the domain.
175+
176+
Regex Pattern: `^\S+$`
168177
type: string
169178
status:
170179
description: The current status of a domain.

config/crd/bases/codeartifact.services.k8s.aws_packagegroups.yaml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,36 @@ spec:
4040
description: PackageGroupSpec defines the desired state of PackageGroup.
4141
properties:
4242
contactInfo:
43-
description: The contact information for the created package group.
43+
description: |-
44+
The contact information for the created package group.
45+
46+
Regex Pattern: `^\P{C}*$`
4447
type: string
4548
description:
46-
description: A description of the package group.
49+
description: |-
50+
A description of the package group.
51+
52+
Regex Pattern: `^\P{C}*$`
4753
type: string
4854
domain:
49-
description: The name of the domain in which you want to create a
50-
package group.
55+
description: |-
56+
The name of the domain in which you want to create a package group.
57+
58+
Regex Pattern: `^[a-z][a-z0-9\-]{0,48}[a-z0-9]$`
5159
type: string
5260
domainOwner:
5361
description: |-
5462
The 12-digit account number of the Amazon Web Services account that owns
5563
the domain. It does not include dashes or spaces.
64+
65+
Regex Pattern: `^[0-9]{12}$`
5666
type: string
5767
pattern:
5868
description: |-
5969
The pattern of the package group to create. The pattern is also the identifier
6070
of the package group.
71+
72+
Regex Pattern: `^[^\p{C}\p{IsWhitespace}]+$`
6173
type: string
6274
tags:
6375
description: One or more tag key-value pairs for the package group.
@@ -149,7 +161,10 @@ spec:
149161
format: date-time
150162
type: string
151163
domainName:
152-
description: The name of the domain that contains the package group.
164+
description: |-
165+
The name of the domain that contains the package group.
166+
167+
Regex Pattern: `^[a-z][a-z0-9\-]{0,48}[a-z0-9]$`
153168
type: string
154169
originConfiguration:
155170
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.55.5
1010
github.com/aws/aws-sdk-go-v2 v1.36.0
1111
github.com/aws/aws-sdk-go-v2/service/codeartifact v1.33.14

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.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU=
44
github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
55
github.com/aws/aws-sdk-go-v2 v1.36.0 h1:b1wM5CcE65Ujwn565qcwgtOTT1aT4ADOHHgglKjG7fk=

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: codeartifact-chart
33
description: A Helm chart for the ACK service controller for CodeArtifact (codeArtifact)
4-
version: 1.0.8
5-
appVersion: 1.0.8
4+
version: 1.0.9
5+
appVersion: 1.0.9
66
home: https://github.com/aws-controllers-k8s/codeartifact-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/crds/codeartifact.services.k8s.aws_domains.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,17 @@ spec:
5454
CMK with your domain. For more information, see Using symmetric and asymmetric
5555
keys (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html)
5656
in the Key Management Service Developer Guide.
57+
58+
Regex Pattern: `^\S+$`
5759
type: string
5860
name:
5961
description: |-
6062
The name of the domain to create. All domain names in an Amazon Web Services
6163
Region that are in the same Amazon Web Services account must be unique. The
6264
domain name is used as the prefix in DNS hostnames. Do not use sensitive
6365
information in a domain name because it is publicly discoverable.
66+
67+
Regex Pattern: `^[a-z][a-z0-9\-]{0,48}[a-z0-9]$`
6468
type: string
6569
tags:
6670
description: One or more tag key-value pairs for the domain.
@@ -155,7 +159,10 @@ spec:
155159
format: date-time
156160
type: string
157161
owner:
158-
description: The Amazon Web Services account ID that owns the domain.
162+
description: |-
163+
The Amazon Web Services account ID that owns the domain.
164+
165+
Regex Pattern: `^[0-9]{12}$`
159166
type: string
160167
repositoryCount:
161168
description: The number of repositories in the domain.
@@ -165,6 +172,8 @@ spec:
165172
description: |-
166173
The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store
167174
package assets in the domain.
175+
176+
Regex Pattern: `^\S+$`
168177
type: string
169178
status:
170179
description: The current status of a domain.

helm/crds/codeartifact.services.k8s.aws_packagegroups.yaml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,36 @@ spec:
4040
description: PackageGroupSpec defines the desired state of PackageGroup.
4141
properties:
4242
contactInfo:
43-
description: The contact information for the created package group.
43+
description: |-
44+
The contact information for the created package group.
45+
46+
Regex Pattern: `^\P{C}*$`
4447
type: string
4548
description:
46-
description: A description of the package group.
49+
description: |-
50+
A description of the package group.
51+
52+
Regex Pattern: `^\P{C}*$`
4753
type: string
4854
domain:
49-
description: The name of the domain in which you want to create a
50-
package group.
55+
description: |-
56+
The name of the domain in which you want to create a package group.
57+
58+
Regex Pattern: `^[a-z][a-z0-9\-]{0,48}[a-z0-9]$`
5159
type: string
5260
domainOwner:
5361
description: |-
5462
The 12-digit account number of the Amazon Web Services account that owns
5563
the domain. It does not include dashes or spaces.
64+
65+
Regex Pattern: `^[0-9]{12}$`
5666
type: string
5767
pattern:
5868
description: |-
5969
The pattern of the package group to create. The pattern is also the identifier
6070
of the package group.
71+
72+
Regex Pattern: `^[^\p{C}\p{IsWhitespace}]+$`
6173
type: string
6274
tags:
6375
description: One or more tag key-value pairs for the package group.
@@ -149,7 +161,10 @@ spec:
149161
format: date-time
150162
type: string
151163
domainName:
152-
description: The name of the domain that contains the package group.
164+
description: |-
165+
The name of the domain that contains the package group.
166+
167+
Regex Pattern: `^[a-z][a-z0-9\-]{0,48}[a-z0-9]$`
153168
type: string
154169
originConfiguration:
155170
description: |-

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

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

helm/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
image:
66
repository: public.ecr.aws/aws-controllers-k8s/codeartifact-controller
7-
tag: 1.0.8
7+
tag: 1.0.9
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

0 commit comments

Comments
 (0)