Skip to content

Commit d2483d2

Browse files
authored
Update to ACK runtime v0.22.1, code-generator v0.22.0 (#48)
### Update to ACK runtime `v0.22.1`, code-generator `v0.22.0` ---------- * ACK code-generator `v0.22.0` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.22.0) * ACK runtime `v0.22.1` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.22.1) ---------- NOTE: This PR increments the release version of service controller from `v0.0.5` to `v0.0.6` Once this PR is merged, release `v0.0.6` will be automatically created for `memorydb-controller` **Please close this PR, if you do not want the new patch release for `memorydb-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building memorydb-controller ==== Copying common custom resource definitions into memorydb Building Kubernetes API objects for memorydb Generating deepcopy code for memorydb Generating custom resource definitions for memorydb Building service controller for memorydb Generating RBAC manifests for memorydb Running gofmt against generated code for memorydb Updating additional GitHub repository maintenance files ==== building memorydb-controller release artifacts ==== Building release artifacts for memorydb-v0.0.6 Generating common custom resource definitions Generating custom resource definitions for memorydb Generating RBAC manifests for memorydb ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 6edfd6d commit d2483d2

File tree

12 files changed

+31
-18
lines changed

12 files changed

+31
-18
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2022-12-29T19:31:19Z"
3-
build_hash: 4e4052d49c6c272312b98aa030fe61bc4092eb64
4-
go_version: go1.19
5-
version: v0.21.0-7-g4e4052d
2+
build_date: "2023-01-10T21:58:28Z"
3+
build_hash: 1b20baf45a0b73a11b296050322a384c705fa897
4+
go_version: go1.17.5
5+
version: v0.22.0
66
api_directory_checksum: ee32acc4d4a0ba7e2823dd20fdbe2c4ef1d9e0f4
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.93

apis/v1alpha1/subnet_group.go

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

apis/v1alpha1/types.go

Lines changed: 2 additions & 2 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/memorydb-controller
9-
newTag: v0.0.5
9+
newTag: v0.0.6

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/aws-controllers-k8s/memorydb-controller
33
go 1.17
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.21.0
6+
github.com/aws-controllers-k8s/runtime v0.22.1
77
github.com/aws/aws-sdk-go v1.44.93
88
github.com/go-logr/logr v1.2.0
99
github.com/pkg/errors v0.9.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hC
6464
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
6565
github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
6666
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
67-
github.com/aws-controllers-k8s/runtime v0.21.0 h1:e9DK88QodwXMLz+QXPXk+8XNetVj4ij+puaVwn9uEVc=
68-
github.com/aws-controllers-k8s/runtime v0.21.0/go.mod h1:k7z4qlf6aK1Kzd4ff49wzcyhDKHjWaUpqxrwgl4uS1o=
67+
github.com/aws-controllers-k8s/runtime v0.22.1 h1:V5AKMBjGmq3sblGYrVYvi+6utW4CiIVotWA60Ym9T84=
68+
github.com/aws-controllers-k8s/runtime v0.22.1/go.mod h1:k7z4qlf6aK1Kzd4ff49wzcyhDKHjWaUpqxrwgl4uS1o=
6969
github.com/aws/aws-sdk-go v1.44.93 h1:hAgd9fuaptBatSft27/5eBMdcA8+cIMqo96/tZ6rKl8=
7070
github.com/aws/aws-sdk-go v1.44.93/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
7171
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=

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

helm/crds/memorydb.services.k8s.aws_subnetgroups.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ spec:
3434
type: object
3535
spec:
3636
description: "SubnetGroupSpec defines the desired state of SubnetGroup.
37-
\n Represents the output of one of the following operations: \n - CreateSubnetGroup
38-
\n - UpdateSubnetGroup \n A subnet group is a collection of subnets
37+
\n Represents the output of one of the following operations: \n * CreateSubnetGroup
38+
\n * UpdateSubnetGroup \n A subnet group is a collection of subnets
3939
(typically private) that you can designate for your clusters running
4040
in an Amazon Virtual Private Cloud (VPC) environment."
4141
properties:

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

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

helm/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ spec:
5555
- "$(ACK_RESOURCE_TAGS)"
5656
- --watch-namespace
5757
- "$(ACK_WATCH_NAMESPACE)"
58+
- --deletion-policy
59+
- "$(DELETION_POLICY)"
5860
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
5961
imagePullPolicy: {{ .Values.image.pullPolicy }}
6062
name: controller
@@ -74,6 +76,8 @@ spec:
7476
value: {{ .Values.aws.endpoint_url | quote }}
7577
- name: ACK_WATCH_NAMESPACE
7678
value: {{ include "watch-namespace" . }}
79+
- name: DELETION_POLICY
80+
value: {{ .Values.deletionPolicy }}
7781
- name: ACK_ENABLE_DEVELOPMENT_LOGGING
7882
value: {{ .Values.log.enable_development_logging | quote }}
7983
- name: ACK_LOG_LEVEL

0 commit comments

Comments
 (0)