-
Notifications
You must be signed in to change notification settings - Fork 40k
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
fix bug when azure cloud provider configuration file is not specified #49283
fix bug when azure cloud provider configuration file is not specified #49283
Conversation
Hi @dixudx. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with 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. I understand the commands that are listed here. |
/assign @brendandburns @colemickens |
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brendandburns, dixudx Associated issue: 49228 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 49642, 50335, 50390, 49283, 46582) |
What this PR does / why we need it:
Current Azure cloud provider failed to parse empty config file when
--cloud-config
is not specified.GetServicePrincipalToken will raise an error if no valid secrets/tokens are found. So we just need to return empty config obj if
--cloud-config
is not set.Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #49228Special notes for your reviewer:
@githubvick
Release note: