-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add credentials to HTTP resolver #7315
Add credentials to HTTP resolver #7315
Conversation
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
e9fe4a9
to
c9f92ad
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
c9f92ad
to
724f260
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
724f260
to
64d3ee4
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
tokenSecretKey = v | ||
} | ||
} | ||
secretNS := common.RequestNamespace(ctx) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The namespace is the same as the one with TaskRun/PiplineRun or from the default? I think we need to clarify which namespace we're using in the docs&docstrings
This adds the ability to pass credentials to the HTTP resolver when fetching the URL. This let's for example to fetch tasks from SCM private repositories on other SCM providers than configured with the git resolver. Fixes tektoncd#7296 Signed-off-by: Chmouel Boudjnah <[email protected]>
64d3ee4
to
c17dc30
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
Thanks! |
Changes
This adds the ability to pass credentials to the HTTP resolver when fetching the URL.
This let the user for example fetch a task from another SCM private repositories on another SCM providers than the one configured with the git resolver.
Fixes #7296
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes
/kind feature