Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Switch from ADAL to AzIdentity, Add Azure Storage Token Refresh, and Update Golang Version#1977

Merged
matt0x6F merged 19 commits intogomods:mainfromSilverdewBaker:huan/msi-auth-fix
Sep 9, 2024

Conversation

SilverdewBaker
Copy link
Contributor

@SilverdewBakerSilverdewBaker commentedJul 30, 2024
edited
Loading

What is the problem I am trying to address?

  • Adal repo is deprecated so switch to use azidentity.
  • Support azure storage token refresh automatically.
  • The default value of athens storage account key and azure managed identity resource id should be empty.
  • Update golang version

How is the fix applied?

  • Adal repo is deprecated,https://github.com/Azure/go-autorest/tree/main/autorest/adal, follow the guide to use azidentity.
  • Support azure storage token refresh automatically before it expires.
  • Set the default value of athens storage account key and azure managed identity resource id to empty.
  • Test in private cluster and storage account, the test pass.

What GitHub issue(s) does this PR fix or close?

@SilverdewBakerSilverdewBaker requested a review froma team as acode ownerJuly 30, 2024 12:29
@Ullaakut
Copy link
Collaborator

Hi@SilverdewBaker , please follow the PR template and actually fill the body of your pull request.

Also, your code currently still includes debug logs, so I don't think it's in a reviewable state yet. Please clean it up and ask for reviews once it's ready! Thank you :)

@SilverdewBaker
Copy link
ContributorAuthor

Thank you@Ullaakut , yes I am still testing my changes, I will fill the body of my pr after I finish the test.

Ullaakut reacted with thumbs up emoji

@SilverdewBakerSilverdewBaker changed the titleUpdate newBlobStoreClientAdal repo is deprecated so switch to use azidentityAug 6, 2024
@SilverdewBaker
Copy link
ContributorAuthor

need a token refresh check, please don't merge

@SilverdewBakerSilverdewBaker changed the titleAdal repo is deprecated so switch to use azidentitySwitch from ADAL to AzIdentity, Add Azure Storage Token Refresh, and Update Golang VersionAug 16, 2024
@SilverdewBaker
Copy link
ContributorAuthor

SilverdewBaker commentedAug 28, 2024
edited
Loading

Hi@Ullaakut,@matt0x6F, we are ready for review, we test in our services for several days, and it runs well.

matt0x6F reacted with thumbs up emoji

Copy link
Contributor

@matt0x6Fmatt0x6F left a comment

Choose a reason for hiding this comment

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

This looks good.

@SilverdewBaker
Copy link
ContributorAuthor

Hi@Ullaakut,@matt0x6F could you please merge this pr?

@SilverdewBaker
Copy link
ContributorAuthor

Hi@Ullaakut,@matt0x6F could you please merge this pr? kind ping

@matt0x6Fmatt0x6Fenabled auto-merge (squash)September 9, 2024 03:02
@matt0x6Fmatt0x6F merged commit34002b8 intogomods:mainSep 9, 2024
11 checks passed
DrPsychick referenced this pull request in gomods/athens-chartsSep 14, 2024
This PR contains the following updates:| Package | Update | Change ||---|---|---|| [gomods/athens](https://redirect.github.com/gomods/athens) | minor |`v0.14.1` -> `v0.15.1` |---### Release Notes<details><summary>gomods/athens (gomods/athens)</summary>###[`v0.15.1`](https://redirect.github.com/gomods/athens/releases/tag/v0.15.1)[CompareSource](https://redirect.github.com/gomods/athens/compare/v0.15.0...v0.15.1)#### What's Changed- update-github-action(deps): bump goreleaser/goreleaser-action from 5to 6 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in[https://github.com/gomods/athens/pull/1969](https://redirect.github.com/gomods/athens/pull/1969)- update-github-action(deps): bump docker/build-push-action from 5 to 6by [@&#8203;dependabot](https://redirect.github.com/dependabot) in[https://github.com/gomods/athens/pull/1971](https://redirect.github.com/gomods/athens/pull/1971)- Add aad auth option when using azure storage account by[@&#8203;SilverdewBaker](https://redirect.github.com/SilverdewBaker) in[https://github.com/gomods/athens/pull/1973](https://redirect.github.com/gomods/athens/pull/1973)- Fix helm install command in docs by[@&#8203;sb464f](https://redirect.github.com/sb464f) in[https://github.com/gomods/athens/pull/1981](https://redirect.github.com/gomods/athens/pull/1981)- Switch from ADAL to AzIdentity, Add Azure Storage Token Refresh, andUpdate Golang Version by[@&#8203;SilverdewBaker](https://redirect.github.com/SilverdewBaker) in[https://github.com/gomods/athens/pull/1977](https://redirect.github.com/gomods/athens/pull/1977)- Compatibility with proxy.golang.org for list not found responses by[@&#8203;sanyatuning](https://redirect.github.com/sanyatuning) in[https://github.com/gomods/athens/pull/1974](https://redirect.github.com/gomods/athens/pull/1974)- Fix: Change goreleaser flag from --rm-dist to --clean by[@&#8203;matt0x6F](https://redirect.github.com/matt0x6F) in[https://github.com/gomods/athens/pull/1984](https://redirect.github.com/gomods/athens/pull/1984)#### New Contributors- [@&#8203;SilverdewBaker](https://redirect.github.com/SilverdewBaker)made their first contribution in[https://github.com/gomods/athens/pull/1973](https://redirect.github.com/gomods/athens/pull/1973)- [@&#8203;sb464f](https://redirect.github.com/sb464f) made their firstcontribution in[https://github.com/gomods/athens/pull/1981](https://redirect.github.com/gomods/athens/pull/1981)- [@&#8203;sanyatuning](https://redirect.github.com/sanyatuning) madetheir first contribution in[https://github.com/gomods/athens/pull/1974](https://redirect.github.com/gomods/athens/pull/1974)**Full Changelog**:gomods/athens@v0.14.1...v0.15.1###[`v0.15.0`](https://redirect.github.com/gomods/athens/releases/tag/v0.15.0)[CompareSource](https://redirect.github.com/gomods/athens/compare/v0.14.1...v0.15.0)#### What's Changed- update-github-action(deps): bump goreleaser/goreleaser-action from 5to 6 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in[https://github.com/gomods/athens/pull/1969](https://redirect.github.com/gomods/athens/pull/1969)- update-github-action(deps): bump docker/build-push-action from 5 to 6by [@&#8203;dependabot](https://redirect.github.com/dependabot) in[https://github.com/gomods/athens/pull/1971](https://redirect.github.com/gomods/athens/pull/1971)- Add aad auth option when using azure storage account by[@&#8203;SilverdewBaker](https://redirect.github.com/SilverdewBaker) in[https://github.com/gomods/athens/pull/1973](https://redirect.github.com/gomods/athens/pull/1973)- Fix helm install command in docs by[@&#8203;sb464f](https://redirect.github.com/sb464f) in[https://github.com/gomods/athens/pull/1981](https://redirect.github.com/gomods/athens/pull/1981)- Switch from ADAL to AzIdentity, Add Azure Storage Token Refresh, andUpdate Golang Version by[@&#8203;SilverdewBaker](https://redirect.github.com/SilverdewBaker) in[https://github.com/gomods/athens/pull/1977](https://redirect.github.com/gomods/athens/pull/1977)- Compatibility with proxy.golang.org for list not found responses by[@&#8203;sanyatuning](https://redirect.github.com/sanyatuning) in[https://github.com/gomods/athens/pull/1974](https://redirect.github.com/gomods/athens/pull/1974)#### New Contributors- [@&#8203;SilverdewBaker](https://redirect.github.com/SilverdewBaker)made their first contribution in[https://github.com/gomods/athens/pull/1973](https://redirect.github.com/gomods/athens/pull/1973)- [@&#8203;sb464f](https://redirect.github.com/sb464f) made their firstcontribution in[https://github.com/gomods/athens/pull/1981](https://redirect.github.com/gomods/athens/pull/1981)- [@&#8203;sanyatuning](https://redirect.github.com/sanyatuning) madetheir first contribution in[https://github.com/gomods/athens/pull/1974](https://redirect.github.com/gomods/athens/pull/1974)**Full Changelog**:gomods/athens@v0.14.1...v0.15.0</details>---### Configuration📅 **Schedule**: Branch creation - At any time (no schedule defined),Automerge - At any time (no schedule defined).🚦 **Automerge**: Disabled by config. Please merge this manually once youare satisfied.♻ **Rebasing**: Whenever PR becomes conflicted, or you tick therebase/retry checkbox.🔕 **Ignore**: Close this PR and you won't be reminded about this updateagain.---- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, checkthis box---This PR was generated by [Mend Renovate](https://mend.io/renovate/).View the [repository joblog](https://developer.mend.io/github/gomods/athens-charts).<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->---------Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Co-authored-by: DrPsychick <drpsychick@drsick.net>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@andyliulimingandyliulimingandyliuliming requested changes

@matt0x6Fmatt0x6Fmatt0x6F approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@SilverdewBaker@Ullaakut@andyliuliming@matt0x6F

[8]ページ先頭

©2009-2025 Movatter.jp