Skip to content

Commit cbe4828

Browse files
authored
Add GlobalCluster object/api (#33)
Issue #, if available: aws-controllers-k8s/community#973 Description of changes: This change adds the GlobalCluster object/api to rds-controller. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent c427c85 commit cbe4828

24 files changed

+2239
-59
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2021-09-30T17:17:12Z"
2+
build_date: "2021-10-05T23:44:00Z"
33
build_hash: 2b0ac062dd6d305434d252b5da5ed718c801b106
4-
go_version: go1.17
4+
go_version: go1.17.1
55
version: v0.14.1
6-
api_directory_checksum: 183f450ec5188cdb1cf76da50f21933f6b4cd7e3
6+
api_directory_checksum: cd0469d4474d82dbcf9badb97a43cac68ba07044
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.37.10
99
generator_config_info:
10-
file_checksum: e6d75d736bdcf3b5649f48ac2945fff9041b44f8
10+
file_checksum: ec38b79b167ebd86c08109049864acd6a21e5113
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ignore:
1414
- DBSnapshot
1515
#- DBSubnetGroup
1616
- EventSubscription
17-
- GlobalCluster
17+
#- GlobalCluster
1818
- OptionGroup
1919
field_paths:
2020
operations:
@@ -144,6 +144,16 @@ resources:
144144
is_primary_key: true
145145
MasterUserPassword:
146146
is_secret: true
147+
GlobalCluster:
148+
exceptions:
149+
terminal_codes:
150+
- DBClusterNotFoundFault
151+
- GlobalClusterAlreadyExistsFault
152+
- GlobalClusterQuotaExceededFault
153+
- InvalidDBClusterStateFault
154+
fields:
155+
GlobalClusterIdentifier:
156+
is_primary_key: true
147157
DBParameterGroup:
148158
renames:
149159
operations:

apis/v1alpha1/global_cluster.go

Lines changed: 100 additions & 0 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: 23 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)