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 DetailsNeeds 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.
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 <chmouel@redhat.com>
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