-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add resource references to cluster names (#17)
Description of changes: Add resource references to each of the custom resources to replace `ClusterName`. I have tested these changes manually and, while they work, are currently sub-optimal. The generated code currently does not check for the `ResourceSynced` condition to be `true` before resolving the reference. Therefore, since all of these resources reference the cluster spec field, they immediately resolve. As a result, the resources immediately attempt to create - even though the cluster is still in `CREATING` status. Once aws-controllers-k8s/community#1064 is properly implemented, and the code gating the `ResourceSynced` status is enabled, these resources should work flawlessly. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
- Loading branch information
1 parent
dd817be
commit a8e1ec0
Showing
19 changed files
with
394 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
ack_generate_info: | ||
build_date: "2022-01-09T00:30:18Z" | ||
build_hash: 3e184727de8a4dfd4769e3d88f4f52f885858335 | ||
build_date: "2022-01-12T20:00:52Z" | ||
build_hash: b24c062600f1ae90d62e760c23e69651ac167a24 | ||
go_version: go1.17.1 | ||
version: v0.16.0 | ||
api_directory_checksum: 18423a5aa90c547e267c460f25ce08e5c0b4aaa6 | ||
api_directory_checksum: aca79dadb322fdb182185a7e9b9cb44e14b30d0a | ||
api_version: v1alpha1 | ||
aws_sdk_go_version: v1.38.67 | ||
generator_config_info: | ||
file_checksum: b66d077bc28c12a65378f3eb515c5ab814a93090 | ||
file_checksum: 794a511b629b00b81bfe943eaf41eedf7c780ff7 | ||
original_file_name: generator.yaml | ||
last_modification: | ||
reason: API generation |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.