fix: write func.yaml before remote deploy upload#3663
fix: write func.yaml before remote deploy upload#3663creydr wants to merge 1 commit intoknative:mainfrom
func.yaml before remote deploy upload#3663Conversation
Previously, func.yaml was only written to disk after deployment completed. For remote deploys, the pipeline uploads sources from disk to a PVC before the on-cluster deploy step runs. This meant CLI flags like --image-pull-secret, --service-account, or --deployer were not reflected in the uploaded func.yaml. Write func.yaml before the pipeline starts so the on-cluster deploy step sees the latest configuration.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: creydr 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❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3663 +/- ##
==========================================
+ Coverage 53.49% 56.70% +3.20%
==========================================
Files 181 181
Lines 20732 20738 +6
==========================================
+ Hits 11091 11759 +668
+ Misses 8567 7769 -798
- Partials 1074 1210 +136
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:
|
|
/cc @gauron99 |
Previously,
func.yamlwas only written to disk after deployment completed. For remote deploys, the pipeline uploads sources from disk to a PVC before the on-cluster deploy step runs. This meant CLI flags like--image-pull-secret,--service-account, or--deployerwere not reflected in the uploadedfunc.yaml.Write
func.yamlbefore the pipeline starts so the on-cluster deploy step sees the latest configuration.Changes
--image-pull-secretsupport on remote deploys/kind bug