-
Notifications
You must be signed in to change notification settings - Fork 431
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
CI: workload-identity native #4765
CI: workload-identity native #4765
Conversation
@aramase @nilekhc @sozercan this PR borrows heavily from this azure-workload-identity project-approved script: https://github.com/Azure/azure-workload-identity/blob/main/scripts/wi-kind-setup.sh Could you do a high level sanity check of the approach here to automate kind + azwi? Thank you! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4765 +/- ##
=======================================
Coverage 62.04% 62.04%
=======================================
Files 201 201
Lines 16878 16878
=======================================
Hits 10472 10472
Misses 5623 5623
Partials 783 783 ☔ View full report in Codecov by Sentry. |
d34b2ce
to
09623fe
Compare
09623fe
to
32a2727
Compare
/test pull-cluster-api-provider-azure-e2e |
3 similar comments
/test pull-cluster-api-provider-azure-e2e |
/test pull-cluster-api-provider-azure-e2e |
/test pull-cluster-api-provider-azure-e2e |
fb14c3f
to
a47b364
Compare
a47b364
to
8dbd041
Compare
/test pull-cluster-api-provider-azure-e2e |
444de0d
to
bab1915
Compare
LGTM label has been added. Git tree hash: 6f27826c951ffc7c748f37eebc5f98f63d7af819
|
Looks like you got a failure with the e2e-optional test. Seems like the control plane wasn't initialized. /test pull-cluster-api-provider-azure-e2e-optional |
spot test should be fixed by #4910 once that merges. |
/test pull-cluster-api-provider-azure-e2e-optional |
/hold cancel |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis 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 |
@jackfrancis Do you intend to squash? |
/hold for squash! |
Signed-off-by: Jack Francis <[email protected]>
de9c64b
to
5e6ede0
Compare
/hold cancel Thank you @nojnhuh ! |
@jackfrancis: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
/retest |
@jackfrancis is it required recently to switch to workload-identity for all upstream CI? We are maintaining some own templates with sp. |
@lzhecheng those templates will eventually need to be converted when we migrate to prow community k8s infra, as we will no longer be maintaining sp secrets in prow @jsturtevant and @nawazkh and I are working on a model for that, it will look like this: https://github.com/kubernetes/test-infra/pull/32837/files |
I'm curious if it is ok to put tenant id, sub id into a public file. Is it actually a common practice? Or it actually does no harm. |
@lzhecheng client id, subscription id, and tenant id are not secret data |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR updates E2E CI automation and underlying cluster templates to use workload-identity, with the required Azure infra installed on-demand as part of CI automation.
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 #
Special notes for your reviewer:
TODOs:
Release note: