-
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
Disable local accounts for aks aad clusters #4008
Disable local accounts for aks aad clusters #4008
Conversation
6405e5a
to
ba6b705
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #4008 +/- ##
==========================================
+ Coverage 57.61% 57.65% +0.03%
==========================================
Files 188 188
Lines 19200 19320 +120
==========================================
+ Hits 11062 11138 +76
- Misses 7507 7550 +43
- Partials 631 632 +1
☔ 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.
Nice work! Just some small changes
ba887fb
to
800b3ea
Compare
5cf2542
to
b7b2ef1
Compare
/test pull-cluster-api-provider-azure-e2e |
1 similar comment
/test pull-cluster-api-provider-azure-e2e |
b7b2ef1
to
023875d
Compare
12f51a5
to
0abf40e
Compare
PR looks good pending the unit test for /lgtm |
71e6f25
to
670e1b2
Compare
LGTM aside from pending comments and once tests pass. Great work so far! |
/test pull-cluster-api-provider-azure-e2e |
1f8f84c
to
d94010e
Compare
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 label has been added. Git tree hash: 519a076c6a9c1a104262a5bd495484b0403633ca
|
[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 |
d94010e
to
951e829
Compare
@CecileRobertMichon PTAL i added docs ! |
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.
minor nits
951e829
to
1841617
Compare
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: c66bb0f3835c52b003dd275b21c18b5be312144b
|
If we disable local accounts for aad clusters we do not have access to admin kubeconfig, hence we need to create | ||
the admin kubeconfig by authenticating with the user credentials and retrieving the token for kubeconfig. | ||
The token is used to create the admin kubeconfig. |
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.
Is this comment correct or should it be referring to the user kubeconfig instead of the admin one?
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.
This comment is correct, if we refer to the user kubeconfig we will need kubelogin to access the cluster.
What type of PR is this?
/kind feature
What this PR does / why we need it:
Support to disable local accounts for aks aad clusters
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 #2129
Special notes for your reviewer:
As access for admin kubeconfig will be disabled, the user must ensure to add the service principle to the admin group configured for enabling AAD.
TODOs:
Release note: