-
Notifications
You must be signed in to change notification settings - Fork 67
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: set DisableKubeletCloudCredentialProviders=false
for versions without OOT credential provider (1.29)
#456
Merged
Bryce-Soghigian
merged 6 commits into
main
from
bsoghigian/disable-credential-providers
Aug 22, 2024
Merged
fix: set DisableKubeletCloudCredentialProviders=false
for versions without OOT credential provider (1.29)
#456
Bryce-Soghigian
merged 6 commits into
main
from
bsoghigian/disable-credential-providers
Aug 22, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bryce-Soghigian
changed the title
fix: disabling kubelet flag DisableKubeletCloudCredentialProviders for versions without OOT credential provider
fix: disabling kubelet flag DisableKubeletCloudCredentialProviders for versions without OOT credential provider(1.29)
Aug 14, 2024
Pull Request Test Coverage Report for Build 10502765047Details
💛 - Coveralls |
~/dev/focus/karpenter-provider-azure (bsoghigian/disable-credential-providers*) » k get nodes sillygoose@Bryces-MacBook-Pro
|
tallaxes
changed the title
fix: disabling kubelet flag DisableKubeletCloudCredentialProviders for versions without OOT credential provider(1.29)
fix: set Aug 16, 2024
DisableKubeletCloudCredentialProviders=false
for versions without OOT credential provider (1.29)
tallaxes
approved these changes
Aug 16, 2024
tallaxes
added
kind/bug
Categorizes issue or PR as related to a bug.
area/bootstrap
Issues or PRs related to bootstrap
labels
Aug 16, 2024
Bryce-Soghigian
added a commit
that referenced
this pull request
Sep 12, 2024
…without OOT credential provider (1.29) (#456) * fix: DisableKubeletCloudCredentialProviders should default to false for 1.29 * fix: adding 1.31 credential provider into switch * test: testing 1.31 credential provider url * fix: ci --------- Co-authored-by: Alex Leites <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/bootstrap
Issues or PRs related to bootstrap
kind/bug
Categorizes issue or PR as related to a bug.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #411
Description
https://github.com/Azure/karpenter-provider-azure/blob/main/pkg/providers/imagefamily/bootstrap/aksbootstrap.go#L425
Looks like from this code for out of tree provider we default to not including the settings for out of tree provider if CredentialProviderURL is empty.
We don't have the logic conditionally enabled for 1.29, so auth pull will not work for that specific kubernetes version.
This can be easily fixed by
A) Switching 1.29 to use out of tree credential provider.(Have karpenter pass in the rest of the required OOT Provider kubelet flags.)
B) Adding the default to false for the feature gate for 1.29 clusters.
To have consistency with the provisioning of the AKS Resource Provider nodes, we will choose option B.
How was this change tested?
Does this change impact docs?
Release Note