Skip to content

Commit e3505ad

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

27 files changed

+52
-53
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ack_generate_info:
2-
build_date: "2025-02-18T01:03:38Z"
3-
build_hash: 66c0f840b0bcf6f552be46cf5ee0fb95ad57053e
4-
go_version: go1.23.6
5-
version: v0.43.0
6-
api_directory_checksum: 0f68037c7970cd69c9365d191e78762f7ed5a7c5
2+
build_date: "2025-02-20T18:08:39Z"
3+
build_hash: a326346bd3a6973254d247c9ab2dc76790c36241
4+
go_version: go1.24.0
5+
version: v0.43.2
6+
api_directory_checksum: e8ea0ba4a88df803e4ef067a23c8bf95164a6e51
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:

apis/v1alpha1/cache_cluster.go

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/cache_parameter_group.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/cache_subnet_group.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/replication_group.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/snapshot.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/user.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/user_group.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/kustomization.yaml

+1-1
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/elasticache-controller
9-
newTag: 0.2.0
9+
newTag: 0.2.1

config/crd/bases/elasticache.services.k8s.aws_cacheclusters.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ spec:
182182
You cannot use any parameter group which has cluster-enabled='yes' when creating
183183
a cluster.
184184
type: string
185+
x-kubernetes-validations:
186+
- message: Value is immutable once set
187+
rule: self == oldSelf
185188
cacheParameterGroupRef:
186189
description: "AWSResourceReferenceWrapper provides a wrapper around
187190
*AWSResourceReference\ntype to provide more user friendly syntax
@@ -406,6 +409,9 @@ spec:
406409
407410
This parameter is only valid if the Engine parameter is redis.
408411
type: string
412+
x-kubernetes-validations:
413+
- message: Value is immutable once set
414+
rule: self == oldSelf
409415
replicationGroupRef:
410416
description: "AWSResourceReferenceWrapper provides a wrapper around
411417
*AWSResourceReference\ntype to provide more user friendly syntax
@@ -453,6 +459,9 @@ spec:
453459
454460
This parameter is only valid if the Engine parameter is redis.
455461
type: string
462+
x-kubernetes-validations:
463+
- message: Value is immutable once set
464+
rule: self == oldSelf
456465
snapshotRef:
457466
description: "AWSResourceReferenceWrapper provides a wrapper around
458467
*AWSResourceReference\ntype to provide more user friendly syntax
@@ -708,7 +717,7 @@ spec:
708717
type: string
709718
conditions:
710719
description: |-
711-
All CRS managed by ACK have a common `Status.Conditions` member that
720+
All CRs managed by ACK have a common `Status.Conditions` member that
712721
contains a collection of `ackv1alpha1.Condition` objects that describe
713722
the various terminal states of the CR and its backend AWS service API
714723
resource

config/crd/bases/elasticache.services.k8s.aws_cacheparametergroups.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ spec:
131131
type: object
132132
conditions:
133133
description: |-
134-
All CRS managed by ACK have a common `Status.Conditions` member that
134+
All CRs managed by ACK have a common `Status.Conditions` member that
135135
contains a collection of `ackv1alpha1.Condition` objects that describe
136136
the various terminal states of the CR and its backend AWS service API
137137
resource

config/crd/bases/elasticache.services.k8s.aws_cachesubnetgroups.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ spec:
138138
type: object
139139
conditions:
140140
description: |-
141-
All CRS managed by ACK have a common `Status.Conditions` member that
141+
All CRs managed by ACK have a common `Status.Conditions` member that
142142
contains a collection of `ackv1alpha1.Condition` objects that describe
143143
the various terminal states of the CR and its backend AWS service API
144144
resource

config/crd/bases/elasticache.services.k8s.aws_replicationgroups.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ spec:
625625
type: boolean
626626
conditions:
627627
description: |-
628-
All CRS managed by ACK have a common `Status.Conditions` member that
628+
All CRs managed by ACK have a common `Status.Conditions` member that
629629
contains a collection of `ackv1alpha1.Condition` objects that describe
630630
the various terminal states of the CR and its backend AWS service API
631631
resource

config/crd/bases/elasticache.services.k8s.aws_snapshots.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ spec:
203203
type: string
204204
conditions:
205205
description: |-
206-
All CRS managed by ACK have a common `Status.Conditions` member that
206+
All CRs managed by ACK have a common `Status.Conditions` member that
207207
contains a collection of `ackv1alpha1.Condition` objects that describe
208208
the various terminal states of the CR and its backend AWS service API
209209
resource

config/crd/bases/elasticache.services.k8s.aws_usergroups.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ spec:
107107
type: object
108108
conditions:
109109
description: |-
110-
All CRS managed by ACK have a common `Status.Conditions` member that
110+
All CRs managed by ACK have a common `Status.Conditions` member that
111111
contains a collection of `ackv1alpha1.Condition` objects that describe
112112
the various terminal states of the CR and its backend AWS service API
113113
resource

config/crd/bases/elasticache.services.k8s.aws_users.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ spec:
146146
type: object
147147
conditions:
148148
description: |-
149-
All CRS managed by ACK have a common `Status.Conditions` member that
149+
All CRs managed by ACK have a common `Status.Conditions` member that
150150
contains a collection of `ackv1alpha1.Condition` objects that describe
151151
the various terminal states of the CR and its backend AWS service API
152152
resource

helm/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: elasticache-chart
33
description: A Helm chart for the ACK service controller for Amazon ElastiCache (ElastiCache)
4-
version: 0.2.0
5-
appVersion: 0.2.0
4+
version: 0.2.1
5+
appVersion: 0.2.1
66
home: https://github.com/aws-controllers-k8s/elasticache-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/crds/elasticache.services.k8s.aws_cacheclusters.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ spec:
182182
You cannot use any parameter group which has cluster-enabled='yes' when creating
183183
a cluster.
184184
type: string
185+
x-kubernetes-validations:
186+
- message: Value is immutable once set
187+
rule: self == oldSelf
185188
cacheParameterGroupRef:
186189
description: "AWSResourceReferenceWrapper provides a wrapper around
187190
*AWSResourceReference\ntype to provide more user friendly syntax
@@ -406,6 +409,9 @@ spec:
406409
407410
This parameter is only valid if the Engine parameter is redis.
408411
type: string
412+
x-kubernetes-validations:
413+
- message: Value is immutable once set
414+
rule: self == oldSelf
409415
replicationGroupRef:
410416
description: "AWSResourceReferenceWrapper provides a wrapper around
411417
*AWSResourceReference\ntype to provide more user friendly syntax
@@ -453,6 +459,9 @@ spec:
453459
454460
This parameter is only valid if the Engine parameter is redis.
455461
type: string
462+
x-kubernetes-validations:
463+
- message: Value is immutable once set
464+
rule: self == oldSelf
456465
snapshotRef:
457466
description: "AWSResourceReferenceWrapper provides a wrapper around
458467
*AWSResourceReference\ntype to provide more user friendly syntax
@@ -708,7 +717,7 @@ spec:
708717
type: string
709718
conditions:
710719
description: |-
711-
All CRS managed by ACK have a common `Status.Conditions` member that
720+
All CRs managed by ACK have a common `Status.Conditions` member that
712721
contains a collection of `ackv1alpha1.Condition` objects that describe
713722
the various terminal states of the CR and its backend AWS service API
714723
resource

helm/crds/elasticache.services.k8s.aws_cacheparametergroups.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ spec:
131131
type: object
132132
conditions:
133133
description: |-
134-
All CRS managed by ACK have a common `Status.Conditions` member that
134+
All CRs managed by ACK have a common `Status.Conditions` member that
135135
contains a collection of `ackv1alpha1.Condition` objects that describe
136136
the various terminal states of the CR and its backend AWS service API
137137
resource

helm/crds/elasticache.services.k8s.aws_cachesubnetgroups.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ spec:
138138
type: object
139139
conditions:
140140
description: |-
141-
All CRS managed by ACK have a common `Status.Conditions` member that
141+
All CRs managed by ACK have a common `Status.Conditions` member that
142142
contains a collection of `ackv1alpha1.Condition` objects that describe
143143
the various terminal states of the CR and its backend AWS service API
144144
resource

helm/crds/elasticache.services.k8s.aws_replicationgroups.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ spec:
625625
type: boolean
626626
conditions:
627627
description: |-
628-
All CRS managed by ACK have a common `Status.Conditions` member that
628+
All CRs managed by ACK have a common `Status.Conditions` member that
629629
contains a collection of `ackv1alpha1.Condition` objects that describe
630630
the various terminal states of the CR and its backend AWS service API
631631
resource

helm/crds/elasticache.services.k8s.aws_snapshots.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ spec:
203203
type: string
204204
conditions:
205205
description: |-
206-
All CRS managed by ACK have a common `Status.Conditions` member that
206+
All CRs managed by ACK have a common `Status.Conditions` member that
207207
contains a collection of `ackv1alpha1.Condition` objects that describe
208208
the various terminal states of the CR and its backend AWS service API
209209
resource

helm/crds/elasticache.services.k8s.aws_usergroups.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ spec:
107107
type: object
108108
conditions:
109109
description: |-
110-
All CRS managed by ACK have a common `Status.Conditions` member that
110+
All CRs managed by ACK have a common `Status.Conditions` member that
111111
contains a collection of `ackv1alpha1.Condition` objects that describe
112112
the various terminal states of the CR and its backend AWS service API
113113
resource

helm/crds/elasticache.services.k8s.aws_users.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ spec:
146146
type: object
147147
conditions:
148148
description: |-
149-
All CRS managed by ACK have a common `Status.Conditions` member that
149+
All CRs managed by ACK have a common `Status.Conditions` member that
150150
contains a collection of `ackv1alpha1.Condition` objects that describe
151151
the various terminal states of the CR and its backend AWS service API
152152
resource

helm/templates/NOTES.txt

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

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

helm/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

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

pkg/resource/cache_cluster/sdk.go

-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)