fix(tektonconfig): make platform subtrees pointers - #3962
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3962 +/- ##
==========================================
+ Coverage 26.33% 26.36% +0.02%
==========================================
Files 465 465
Lines 24951 24973 +22
==========================================
+ Hits 6572 6583 +11
- Misses 17661 17671 +10
- Partials 718 719 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
f64e21d to
4d74f04
Compare
4d74f04 to
8927034
Compare
Convert spec.platforms.openshift and spec.platforms.kubernetes to pointer types so the stored TektonConfig only persists the subtree for the running platform. The PipelinesAsCode artifact pre-upgrade now runs on Kubernetes as well as OpenShift, cleaning hub-catalog-name from whichever platform's PaC spec is set. Signed-off-by: Anchita Borah <[email protected]>
8927034 to
dda4074
Compare
Changes
Convert spec.platforms.openshift and spec.platforms.kubernetes to pointer types so the stored TektonConfig only persists the subtree for the running platform.
The PipelinesAsCode artifact pre-upgrade now runs on Kubernetes as well as OpenShift, cleaning hub-catalog-name from whichever platform's PaC spec is set.
Submitter Checklist
make test lintbefore submitting a PRRelease Notes