Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Fix the token backward compat in host based token fetching #337

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

kkmsft
Copy link
Contributor

@kkmsft kkmsft commented Aug 12, 2019

Reason for Change:

As aad-pod-identity moved to new adal libraries, the usage of older libraries had become incompatible (due to backward combat issues introduced with Azure/go-autorest#326). With the PR #306 backward compatibility was added in paths where applications fetch tokens. The host handler path which is used by kevvault flex volume also needs similar fixes. This PR fixes that path.

Issue Fixed:

#336

Notes for Reviewers:
Ran 15 of 17 Specs in 3684.931 seconds
SUCCESS! -- 15 Passed | 0 Failed | 0 Pending | 2 Skipped
--- PASS: TestAADPodIdentity (3684.93s)
PASS
ok github.com/Azure/aad-pod-identity/test/e2e 3684.958s

Copy link
Member

@aramase aramase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Will test this fix with the latest keyvault-flexvol release.

Copy link
Member

@aramase aramase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this with keyvault-flexvol v0.0.11. Fix works as expected.

@kkmsft kkmsft changed the title [WIP] Fix the token backward compat in host based token fetching Fix the token backward compat in host based token fetching Aug 12, 2019
@kkmsft
Copy link
Contributor Author

kkmsft commented Aug 12, 2019

Ran 15 of 17 Specs in 3684.931 seconds
SUCCESS! -- 15 Passed | 0 Failed | 0 Pending | 2 Skipped
--- PASS: TestAADPodIdentity (3684.93s)
PASS
ok github.com/Azure/aad-pod-identity/test/e2e 3684.958s

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants