Skip to content

Commit 166613d

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

15 files changed

+63
-46
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-18T00:06:18Z"
3-
build_hash: 66c0f840b0bcf6f552be46cf5ee0fb95ad57053e
4-
go_version: go1.23.6
5-
version: v0.43.0
6-
api_directory_checksum: e3a6c7a62fcea61f2120123949ca1acf059daf87
2+
build_date: "2025-02-20T18:06:32Z"
3+
build_hash: a326346bd3a6973254d247c9ab2dc76790c36241
4+
go_version: go1.24.0
5+
version: v0.43.2
6+
api_directory_checksum: d4bcac73647daf9aa536c9d87757f98e9f0d99ba
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

apis/v1alpha1/alias.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/grant.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/key.go

Lines changed: 9 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/kms-controller
9-
newTag: 1.0.21
9+
newTag: 1.0.22

config/crd/bases/kms.services.k8s.aws_aliases.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ spec:
127127
type: object
128128
conditions:
129129
description: |-
130-
All CRS managed by ACK have a common `Status.Conditions` member that
130+
All CRs managed by ACK have a common `Status.Conditions` member that
131131
contains a collection of `ackv1alpha1.Condition` objects that describe
132132
the various terminal states of the CR and its backend AWS service API
133133
resource

config/crd/bases/kms.services.k8s.aws_grants.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ spec:
221221
type: object
222222
conditions:
223223
description: |-
224-
All CRS managed by ACK have a common `Status.Conditions` member that
224+
All CRs managed by ACK have a common `Status.Conditions` member that
225225
contains a collection of `ackv1alpha1.Condition` objects that describe
226226
the various terminal states of the CR and its backend AWS service API
227227
resource

config/crd/bases/kms.services.k8s.aws_keys.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ spec:
6969
must use the XksKeyId parameter to specify an external key that serves as
7070
key material for the KMS key.
7171
type: string
72+
x-kubernetes-validations:
73+
- message: Value is immutable once set
74+
rule: self == oldSelf
7275
description:
7376
description: |-
7477
A description of the KMS key. Use a description that helps you decide whether
@@ -80,6 +83,9 @@ spec:
8083
8184
To set or change the description after the key is created, use UpdateKeyDescription.
8285
type: string
86+
x-kubernetes-validations:
87+
- message: Value is immutable once set
88+
rule: self == oldSelf
8389
enableKeyRotation:
8490
type: boolean
8591
keySpec:
@@ -124,6 +130,9 @@ spec:
124130
* SM2 key pairs (encryption and decryption -or- signing and verification
125131
-or- deriving shared secrets) SM2 (China Regions only)
126132
type: string
133+
x-kubernetes-validations:
134+
- message: Value is immutable once set
135+
rule: self == oldSelf
127136
keyUsage:
128137
description: |-
129138
Determines the cryptographic operations (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations)
@@ -149,6 +158,9 @@ spec:
149158
* For asymmetric KMS keys with SM2 key pairs (China Regions only), specify
150159
ENCRYPT_DECRYPT, SIGN_VERIFY, or KEY_AGREEMENT.
151160
type: string
161+
x-kubernetes-validations:
162+
- message: Value is immutable once set
163+
rule: self == oldSelf
152164
multiRegion:
153165
description: |-
154166
Creates a multi-Region primary key that you can replicate into other Amazon
@@ -174,6 +186,9 @@ spec:
174186
a multi-Region key with imported key material. However, you cannot create
175187
a multi-Region key in a custom key store.
176188
type: boolean
189+
x-kubernetes-validations:
190+
- message: Value is immutable once set
191+
rule: self == oldSelf
177192
origin:
178193
description: |-
179194
The source of the key material for the KMS key. You cannot change the origin
@@ -196,6 +211,9 @@ spec:
196211
parameter to identify the external key store and the XksKeyId parameter to
197212
identify the associated external key. The KeySpec value must be SYMMETRIC_DEFAULT.
198213
type: string
214+
x-kubernetes-validations:
215+
- message: Value is immutable once set
216+
rule: self == oldSelf
199217
policy:
200218
description: |-
201219
The key policy to attach to the KMS key.
@@ -318,7 +336,7 @@ spec:
318336
type: string
319337
conditions:
320338
description: |-
321-
All CRS managed by ACK have a common `Status.Conditions` member that
339+
All CRs managed by ACK have a common `Status.Conditions` member that
322340
contains a collection of `ackv1alpha1.Condition` objects that describe
323341
the various terminal states of the CR and its backend AWS service API
324342
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: kms-chart
33
description: A Helm chart for the ACK service controller for AWS Key Management Service (KMS)
4-
version: 1.0.21
5-
appVersion: 1.0.21
4+
version: 1.0.22
5+
appVersion: 1.0.22
66
home: https://github.com/aws-controllers-k8s/kms-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/crds/kms.services.k8s.aws_aliases.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ spec:
127127
type: object
128128
conditions:
129129
description: |-
130-
All CRS managed by ACK have a common `Status.Conditions` member that
130+
All CRs managed by ACK have a common `Status.Conditions` member that
131131
contains a collection of `ackv1alpha1.Condition` objects that describe
132132
the various terminal states of the CR and its backend AWS service API
133133
resource

helm/crds/kms.services.k8s.aws_grants.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ spec:
221221
type: object
222222
conditions:
223223
description: |-
224-
All CRS managed by ACK have a common `Status.Conditions` member that
224+
All CRs managed by ACK have a common `Status.Conditions` member that
225225
contains a collection of `ackv1alpha1.Condition` objects that describe
226226
the various terminal states of the CR and its backend AWS service API
227227
resource

helm/crds/kms.services.k8s.aws_keys.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ spec:
6969
must use the XksKeyId parameter to specify an external key that serves as
7070
key material for the KMS key.
7171
type: string
72+
x-kubernetes-validations:
73+
- message: Value is immutable once set
74+
rule: self == oldSelf
7275
description:
7376
description: |-
7477
A description of the KMS key. Use a description that helps you decide whether
@@ -80,6 +83,9 @@ spec:
8083
8184
To set or change the description after the key is created, use UpdateKeyDescription.
8285
type: string
86+
x-kubernetes-validations:
87+
- message: Value is immutable once set
88+
rule: self == oldSelf
8389
enableKeyRotation:
8490
type: boolean
8591
keySpec:
@@ -124,6 +130,9 @@ spec:
124130
- SM2 key pairs (encryption and decryption -or- signing and verification
125131
-or- deriving shared secrets) SM2 (China Regions only)
126132
type: string
133+
x-kubernetes-validations:
134+
- message: Value is immutable once set
135+
rule: self == oldSelf
127136
keyUsage:
128137
description: |-
129138
Determines the cryptographic operations (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations)
@@ -149,6 +158,9 @@ spec:
149158
- For asymmetric KMS keys with SM2 key pairs (China Regions only), specify
150159
ENCRYPT_DECRYPT, SIGN_VERIFY, or KEY_AGREEMENT.
151160
type: string
161+
x-kubernetes-validations:
162+
- message: Value is immutable once set
163+
rule: self == oldSelf
152164
multiRegion:
153165
description: |-
154166
Creates a multi-Region primary key that you can replicate into other Amazon
@@ -174,6 +186,9 @@ spec:
174186
a multi-Region key with imported key material. However, you cannot create
175187
a multi-Region key in a custom key store.
176188
type: boolean
189+
x-kubernetes-validations:
190+
- message: Value is immutable once set
191+
rule: self == oldSelf
177192
origin:
178193
description: |-
179194
The source of the key material for the KMS key. You cannot change the origin
@@ -196,6 +211,9 @@ spec:
196211
parameter to identify the external key store and the XksKeyId parameter to
197212
identify the associated external key. The KeySpec value must be SYMMETRIC_DEFAULT.
198213
type: string
214+
x-kubernetes-validations:
215+
- message: Value is immutable once set
216+
rule: self == oldSelf
199217
policy:
200218
description: |-
201219
The key policy to attach to the KMS key.
@@ -318,7 +336,7 @@ spec:
318336
type: string
319337
conditions:
320338
description: |-
321-
All CRS managed by ACK have a common `Status.Conditions` member that
339+
All CRs managed by ACK have a common `Status.Conditions` member that
322340
contains a collection of `ackv1alpha1.Condition` objects that describe
323341
the various terminal states of the CR and its backend AWS service API
324342
resource

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/kms-controller:1.0.21".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/kms-controller:1.0.22".
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/kms-controller
7-
tag: 1.0.21
7+
tag: 1.0.22
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

pkg/resource/key/sdk.go

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

0 commit comments

Comments
 (0)