Commit 16d0936
authored
feat(addon): Add support for PodIdentityAssociations (#120)
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:
- extracting `ServiceAccounts`/`RoleARNs` from a given PIA association ID
- 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
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.1 parent b6f5ba5 commit 16d0936
File tree
47 files changed
+1159
-723
lines changed- apis/v1alpha1
- config
- crd
- bases
- common/bases
- rbac
- helm
- crds
- templates
- pkg/resource
- addon
- pod_identity_association
- templates/hooks/addons
- test/e2e
- resources
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+1159
-723
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
19 | 29 | | |
20 | 30 | | |
21 | 31 | | |
| |||
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
29 | 62 | | |
30 | 63 | | |
31 | 64 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments