Skip to content

Commit a6ace1e

Browse files
authored
ACK runtime update to v0.19.0 (#42)
Issue #, if available: aws-controllers-k8s/community#1333 Description of changes: * ACK runtime update to v0.19.0 * Ignore tags for Backup and GlobalTable resource because they do not support AWS tags. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 3d64a56 commit a6ace1e

File tree

17 files changed

+200
-26
lines changed

17 files changed

+200
-26
lines changed

Diff for: apis/v1alpha1/ack-generate-metadata.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-04-15T17:37:51Z"
3-
build_hash: 50c64871bcaf88b9ee200eb8d6b8245fa8f675eb
2+
build_date: "2022-06-13T22:07:11Z"
3+
build_hash: a133935a9a93591a9e1ba9d5ca940cb83a1353b4
44
go_version: go1.17.5
5-
version: v0.18.4
5+
version: v0.19.0
66
api_directory_checksum: 496ce40cac72b293b2422f6e5359fbf8a6c3d5c5
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0
99
generator_config_info:
10-
file_checksum: 2c5f9585b1b0356e601e17efc7f5c47bdabdf4ab
10+
file_checksum: ee71f3be20d28f9af4dd3a5be806dc388e93146b
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

Diff for: apis/v1alpha1/generator.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,15 @@ resources:
3636
hooks:
3737
sdk_delete_post_build_request:
3838
code: customSetDeleteInput(r, input)
39+
tags:
40+
ignore: true
3941
Backup:
4042
exceptions:
4143
errors:
4244
404:
4345
code: BackupNotFoundException
4446
hooks:
4547
sdk_read_one_post_set_output:
46-
template_path: hooks/backup/sdk_read_one_post_set_output.go.tpl
48+
template_path: hooks/backup/sdk_read_one_post_set_output.go.tpl
49+
tags:
50+
ignore: true

Diff for: cmd/controller/main.go

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

Diff for: config/controller/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ spec:
6666
- name: ACK_LOG_LEVEL
6767
value: "info"
6868
- name: ACK_RESOURCE_TAGS
69-
value: "services.k8s.aws/managed=true,services.k8s.aws/created=%UTCNOW%,services.k8s.aws/namespace=%KUBERNETES_NAMESPACE%"
69+
value: "services.k8s.aws/controller-version=%CONTROLLER_SERVICE%-%CONTROLLER_VERSION%,services.k8s.aws/namespace=%K8S_NAMESPACE%"
7070
securityContext:
7171
allowPrivilegeEscalation: false
7272
privileged: false

Diff for: 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/dynamodb-controller
9-
newTag: v0.1.0
9+
newTag: v0.1.1

Diff for: generator.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,15 @@ resources:
3636
hooks:
3737
sdk_delete_post_build_request:
3838
code: customSetDeleteInput(r, input)
39+
tags:
40+
ignore: true
3941
Backup:
4042
exceptions:
4143
errors:
4244
404:
4345
code: BackupNotFoundException
4446
hooks:
4547
sdk_read_one_post_set_output:
46-
template_path: hooks/backup/sdk_read_one_post_set_output.go.tpl
48+
template_path: hooks/backup/sdk_read_one_post_set_output.go.tpl
49+
tags:
50+
ignore: true

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/aws-controllers-k8s/dynamodb-controller
33
go 1.17
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.18.4
6+
github.com/aws-controllers-k8s/runtime v0.19.0
77
github.com/aws/aws-sdk-go v1.42.0
88
github.com/go-logr/logr v1.2.0
99
github.com/spf13/pflag v1.0.5

Diff for: go.sum

+2-2
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.18.4 h1:iwLYNwhbuiWZrHPoulGj75oT+alE91wCNkF1FUELiAw=
68-
github.com/aws-controllers-k8s/runtime v0.18.4/go.mod h1:oA8ML1/LL3chPn26P6SzBNu1CUI2nekB+PTqykNs0qU=
67+
github.com/aws-controllers-k8s/runtime v0.19.0 h1:+O5a6jBSBAd8XTNMrVCIYu4G+ZUPZe/G5eopVFO18Dc=
68+
github.com/aws-controllers-k8s/runtime v0.19.0/go.mod h1:oA8ML1/LL3chPn26P6SzBNu1CUI2nekB+PTqykNs0qU=
6969
github.com/aws/aws-sdk-go v1.42.0 h1:BMZws0t8NAhHFsfnT3B40IwD13jVDG5KerlRksctVIw=
7070
github.com/aws/aws-sdk-go v1.42.0/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
7171
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=

Diff for: helm/Chart.yaml

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

Diff for: 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/dynamodb-controller:v0.1.0".
2+
This chart deploys "public.ecr.aws/aws-controllers-k8s/dynamodb-controller:v0.1.1".
33

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

Diff for: helm/values.yaml

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

55
image:
66
repository: public.ecr.aws/aws-controllers-k8s/dynamodb-controller
7-
tag: v0.1.0
7+
tag: v0.1.1
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

@@ -64,9 +64,8 @@ installScope: cluster
6464
resourceTags:
6565
# Configures the ACK service controller to always set key/value pairs tags on
6666
# resources that it manages.
67-
- services.k8s.aws/managed=true
68-
- services.k8s.aws/created=%UTCNOW%
69-
- services.k8s.aws/namespace=%KUBERNETES_NAMESPACE%
67+
- services.k8s.aws/controller-version=%CONTROLLER_SERVICE%-%CONTROLLER_VERSION%
68+
- services.k8s.aws/namespace=%K8S_NAMESPACE%
7069

7170
serviceAccount:
7271
# Specifies whether a service account should be created

Diff for: pkg/resource/backup/manager.go

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

Diff for: pkg/resource/global_table/manager.go

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

Diff for: pkg/resource/table/manager.go

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

Diff for: pkg/resource/table/tags.go

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

0 commit comments

Comments
 (0)