Skip to content
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: sanitize repo creds in error messages (#12309) #12320

Merged
merged 4 commits into from
Feb 8, 2023

Conversation

crenshaw-dev
Copy link
Member

Fixes #12309

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev crenshaw-dev added cherry-pick/2.4 Candidate for cherry picking into the 2.4 release branch cherry-pick/2.5 cherry-pick/2.6 labels Feb 7, 2023
@codecov
Copy link

codecov bot commented Feb 7, 2023

Codecov Report

Base: 47.62% // Head: 47.62% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (4025842) compared to base (3f10af5).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12320      +/-   ##
==========================================
- Coverage   47.62%   47.62%   -0.01%     
==========================================
  Files         246      246              
  Lines       41797    41802       +5     
==========================================
  Hits        19907    19907              
- Misses      19897    19902       +5     
  Partials     1993     1993              
Impacted Files Coverage Δ
pkg/apis/application/v1alpha1/repository_types.go 69.07% <0.00%> (-2.35%) ⬇️
util/argo/argo.go 65.47% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev crenshaw-dev removed cherry-pick/2.4 Candidate for cherry picking into the 2.4 release branch cherry-pick/2.5 labels Feb 7, 2023
@crenshaw-dev crenshaw-dev merged commit 17167fc into argoproj:master Feb 8, 2023
@crenshaw-dev crenshaw-dev deleted the sanitize-repo-creds branch February 8, 2023 15:47
crenshaw-dev added a commit that referenced this pull request Feb 8, 2023
* fix: sanitize repo creds in error messages (#12309)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* simplify

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* comment

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* include error message

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev
Copy link
Member Author

Cherry-picked onto release-2.6 for 2.6.1.

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

Successfully merging this pull request may close these issues.

Github App Private Key printed on auth failure
4 participants