Skip to content

Revert "fix(main): fix basic auth for helm pull or push"#12527

Merged
mattfarina merged 1 commit intohelm:mainfrom
mattfarina:revert-12237
Oct 26, 2023
Merged

Revert "fix(main): fix basic auth for helm pull or push"#12527
mattfarina merged 1 commit intohelm:mainfrom
mattfarina:revert-12237

Conversation

@mattfarina
Copy link
Copy Markdown
Collaborator

@mattfarina mattfarina commented Oct 26, 2023

This reverts commit 4a27baa.

The change to improve basic auth support caused a regression for bearer tokens. Reverting the change until we have a well understood path forward.

Note, #11129 was layered in along with this and it has been preserved with the reversion. It added to the API and we do not want to remove that.

Closes #12491

What this PR does / why we need it:

Special notes for your reviewer:

Note, this was created with git revert rather than GitHub because it was not a clean revert due to other changes that have happened since then. The original PR being reverted is #12237.

If applicable:

  • this PR contains documentation
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

@mattfarina mattfarina added this to the 3.13.2 milestone Oct 26, 2023
@mattfarina mattfarina requested a review from sabre1041 October 26, 2023 13:47
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 26, 2023
This reverts commit 4a27baa.

Note, PR helm#11129 was layered in along with this change so the revert
preserves this API addition.

Signed-off-by: Matt Farina <matt.farina@suse.com>
Copy link
Copy Markdown
Contributor

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

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

LGTM

Tested against bearer and basic auth flows

@mattfarina mattfarina merged commit f3099cd into helm:main Oct 26, 2023
@mattfarina mattfarina added needs-pick Indicates that a PR needs to be cherry-picked into the next release candidate. picked Indicates that a PR has been cherry-picked into the next release candidate. and removed needs-pick Indicates that a PR needs to be cherry-picked into the next release candidate. labels Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

picked Indicates that a PR has been cherry-picked into the next release candidate. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unexpected status from HEAD request on push (3.13.0 & 3.13.1)

2 participants