-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(addon): Add support for PodIdentityAssociations
This commit introduces support for `PodIdentityAssociations` in Addons CRD, enhancing the controller's capabilities to manage PIAs directly through the Addon resources. Key changes: - Bump the sdk to v1.54.1 to bring the latest API schema changes - Introduce `PodIdentityAssociations` to the addons spec - Add custom logic for 1/ extracting ServiceAccounts/RoleARNs from a given PIA association ID 2/ properly comparing two arrays of PIAs - Enhanced Addon status checks and requeue logic to ensure proper synchronization - Add some unit tests and e2e tests for Addon.PIAs
- Loading branch information
Showing
35 changed files
with
1,110 additions
and
244 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: eks.services.k8s.aws/v1alpha1 | ||
kind: Addon | ||
metadata: | ||
name: addon1 | ||
spec: | ||
name: adot | ||
addonVersion: v0.94.1-eksbuild.1 | ||
clusterName: astro-arm | ||
podIdentityAssociations: | ||
- serviceAccount: adot-col-container-logs | ||
roleARN: arn:aws:iam::095708837592:role/abc-admin-pia-role | ||
- serviceAccount: adot-col-otlp-ingest | ||
roleARN: arn:aws:iam::095708837592:role/abc-admin-pia-role | ||
- serviceAccount: adot-col-prom-metrics | ||
roleARN: arn:aws:iam::095708837592:role/abc-admin-pia-role |
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: "2024-06-06T04:13:17Z" | ||
build_date: "2024-07-11T06:06:45Z" | ||
build_hash: 14cef51778d471698018b6c38b604181a6948248 | ||
go_version: go1.21.1 | ||
version: v0.34.0 | ||
api_directory_checksum: 626700f8799840e0470b1ff7ef3dbb32665b9f9d | ||
go_version: go1.22.4 | ||
version: v0.34.0-dirty | ||
api_directory_checksum: 73d241a2b0ffedc502d04e12db2ca6a223dc09e8 | ||
api_version: v1alpha1 | ||
aws_sdk_go_version: v1.49.13 | ||
aws_sdk_go_version: v1.54.1 | ||
generator_config_info: | ||
file_checksum: c6dada6a685b8ed90112dab66773cc94314dd2b8 | ||
file_checksum: 1d75859f086015d8a5dd3fce54480cd449524e66 | ||
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.
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.
Oops, something went wrong.