Skip to content

Commit 3060fa3

Browse files
authored
update to ACK runtime v0.13.0 (#27)
Updates to the ACK runtime v0.13.0 release. Only changes other than the go.mod dependency change were adding a number of lines to generator.yaml in order to instruct the latest code generator how to deal with some of the RDS API's ReadMany operations that have a singular primary identifier field in the Input shape. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 9e396e0 commit 3060fa3

File tree

31 files changed

+232
-101
lines changed

31 files changed

+232
-101
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
ack_generate_info:
2-
build_date: "2021-08-26T13:53:10Z"
3-
build_hash: 11f7affb243007aa3ed1140e7093d8e0ab1252fd
4-
go_version: go1.15.5 linux/amd64
5-
version: v0.12.0
2+
build_date: "2021-09-01T12:27:55Z"
3+
build_hash: 6f22b7b568e25b4ee007bb1ab5f9338c16daf172
4+
go_version: go1.17 linux/amd64
5+
version: v0.13.0
66
api_directory_checksum: 387f19255122f7e68716af4d6dbce0e7498cfe37
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.37.10
99
generator_config_info:
10-
file_checksum: a925bf4c19337d7d6e61ae88861f00a1e94cf7a1
10+
file_checksum: b592c20bd6f321ab727cc08d77bcae382b5c1bd8
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation
14-
timestamp: 2021-08-26 13:53:17.093835611 +0000 UTC
14+
timestamp: 2021-09-01 12:27:59.692202323 +0000 UTC

apis/v1alpha1/generator.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,16 @@ operations:
6060
SkipFinalSnapshot: true
6161
DescribeDBInstances:
6262
primary_identifier_field_name: DBInstanceIdentifier
63+
DescribeDBClusterParameterGroups:
64+
primary_identifier_field_name: DBClusterParameterGroupName
6365
DescribeDBClusters:
6466
primary_identifier_field_name: DBClusterIdentifier
67+
DescribeDBParameterGroups:
68+
primary_identifier_field_name: DBParameterGroupName
69+
DescribeDBSecurityGroups:
70+
primary_identifier_field_name: DBSecurityGroupName
71+
DescribeDBSubnetGroups:
72+
primary_identifier_field_name: DBSubnetGroupName
6573
resources:
6674
DBCluster:
6775
update_operation:

apis/v1alpha1/zz_generated.deepcopy.go

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

generator.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,16 @@ operations:
6060
SkipFinalSnapshot: true
6161
DescribeDBInstances:
6262
primary_identifier_field_name: DBInstanceIdentifier
63+
DescribeDBClusterParameterGroups:
64+
primary_identifier_field_name: DBClusterParameterGroupName
6365
DescribeDBClusters:
6466
primary_identifier_field_name: DBClusterIdentifier
67+
DescribeDBParameterGroups:
68+
primary_identifier_field_name: DBParameterGroupName
69+
DescribeDBSecurityGroups:
70+
primary_identifier_field_name: DBSecurityGroupName
71+
DescribeDBSubnetGroups:
72+
primary_identifier_field_name: DBSubnetGroupName
6573
resources:
6674
DBCluster:
6775
update_operation:

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/rds-controller
33
go 1.14
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.12.0
6+
github.com/aws-controllers-k8s/runtime v0.13.0
77
github.com/aws/aws-sdk-go v1.37.10
88
github.com/go-logr/logr v0.1.0
99
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,8 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo
2323
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
2424
github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
2525
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
26-
github.com/aws-controllers-k8s/runtime v0.4.0 h1:qsCp1OKXoSMtjS+6zlH65PN3/UkVJNbI/ybwYjPmhrY=
27-
github.com/aws-controllers-k8s/runtime v0.4.0/go.mod h1:xA2F18PJerBHaqrS4de1lpP7skeSMeStkmh+3x5sWvw=
28-
github.com/aws-controllers-k8s/runtime v0.6.0 h1:Up9pn9FfItYiItiSdT+FOfHQNKO8oSb5GU8pKH9JF8E=
29-
github.com/aws-controllers-k8s/runtime v0.6.0/go.mod h1:xA2F18PJerBHaqrS4de1lpP7skeSMeStkmh+3x5sWvw=
30-
github.com/aws-controllers-k8s/runtime v0.12.0 h1:G/lCEozh4Brsv1Ojqyl9D/whpq/YvcFtDZBWXf6YIgI=
31-
github.com/aws-controllers-k8s/runtime v0.12.0/go.mod h1:kG2WM4JAmLgf67cgZV9IZUkY2DsrUzsaNbmhFMfb05c=
32-
github.com/aws/aws-sdk-go v1.37.4 h1:tWxrpMK/oRSXVnjUzhGeCWLR00fW0WF4V4sycYPPrJ8=
33-
github.com/aws/aws-sdk-go v1.37.4/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
26+
github.com/aws-controllers-k8s/runtime v0.13.0 h1:PYiNnQejjS/1H93bolFXGIzgQZSn/gRoPSAEU6UG0ec=
27+
github.com/aws-controllers-k8s/runtime v0.13.0/go.mod h1:kG2WM4JAmLgf67cgZV9IZUkY2DsrUzsaNbmhFMfb05c=
3428
github.com/aws/aws-sdk-go v1.37.10 h1:LRwl+97B4D69Z7tz+eRUxJ1C7baBaIYhgrn5eLtua+Q=
3529
github.com/aws/aws-sdk-go v1.37.10/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
3630
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: rds-chart
3-
description: A Helm chart for the ACK service controller for rds
3+
description: A Helm chart for the ACK service controller for Amazon Relational Database Service (RDS)
44
version: v0.0.5
55
appVersion: v0.0.5
66
home: https://github.com/aws-controllers-k8s/rds-controller
@@ -10,7 +10,7 @@ sources:
1010
maintainers:
1111
- name: ACK Admins
1212
url: https://github.com/orgs/aws-controllers-k8s/teams/ack-admin
13-
- name: rds Admins
13+
- name: RDS Admins
1414
url: https://github.com/orgs/aws-controllers-k8s/teams/rds-maintainer
1515
keywords:
1616
- aws

pkg/resource/db_cluster/delta.go

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

pkg/resource/db_cluster/manager.go

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

pkg/resource/db_cluster/resource.go

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

0 commit comments

Comments
 (0)