-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow authentication with Azure Workload Identity for ASO #3851
Conversation
Hi @adriananeci. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @nojnhuh |
/ok-to-test |
Sorry I may have stepped on your toes a bit with #3846. I put a hold on that PR so we can decide which route to take, but I like this approach a bit better since the WorkloadIdentity type is mentioned and doesn't do the extra API call even if Let's also be sure to keep tabs on #3770 and add docs about authorizing the azureserviceoperator-default ServiceAccount after that PR lands, either in this PR or as a follow-up. /test pull-cluster-api-provider-azure-e2e-optional |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #3851 +/- ##
==========================================
- Coverage 55.54% 55.53% -0.02%
==========================================
Files 188 189 +1
Lines 19441 19353 -88
==========================================
- Hits 10799 10747 -52
+ Misses 8040 8012 -28
+ Partials 602 594 -8
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
LGTM label has been added. Git tree hash: a72335c7bc31a7a7861334b4099c1300c1748146
|
/test pull-cluster-api-provider-azure-e2e-optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
LGTM label has been added. Git tree hash: cadf8ccffb89f7375d10aab514dfa6c075c5b51e
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
/kind feature
What this PR does / why we need it:
AzureClusterIdentity resources specifying
type: WorkloadIdentity
should configure ASO to use the same Workload Identity parameters for authentication when interacting with resources for clusters associated with that AzureClusterIdentity.This PR explicitly handles the AzureClusterIdentity of type
WorkloadIdentity
while generating the ASO secrets.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #3732
Special notes for your reviewer:
Workload ID setup might be needed for the CI setup
TODOs:
Release note: