fix: Use tlsVerify param in PipelineRun template for pack too#3575
Conversation
|
/cc @matejvasek |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3575 +/- ##
==========================================
+ Coverage 56.13% 56.24% +0.10%
==========================================
Files 180 180
Lines 20465 20479 +14
==========================================
+ Hits 11489 11519 +30
+ Misses 7781 7759 -22
- Partials 1195 1201 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ly in template parsing
|
/cherry-pick release-1.21 |
|
@creydr: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
gauron99
left a comment
There was a problem hiding this comment.
thanks for the simplification. just one comment
|
|
||
| // createPipelineTemplatePAC creates a Pipeline template used for PAC on-cluster build | ||
| // it creates the resource in the project directory | ||
| func createPipelineTemplatePAC(f fn.Function, labels map[string]string) error { |
There was a problem hiding this comment.
I think the new tls check is missing here? (createPipelineTemplatePAC function)
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: creydr, gauron99 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 |
|
@creydr: new pull request created: #3590 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@creydr: #3575 failed to apply on top of branch "release-1.20": DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Currently we use the
tlsVerifyparam only in the pipeline arguments for the s2i pipelines. This leads to issues when on remote builds using insecure registries with the pack builder.This PR addresses it and passes the tlsVerify arg to the pack PipelineRun too. When set, it sets the
CNB_INSECURE_REGISTRIESenv var before building the image.