GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix: write `func.yaml` before remote deploy upload by creydr · Pull Request #3663 · knative/func
fix: write
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -318,6 +318,12 @@ func runDeploy(cmd *cobra.Command, newClient ClientFactory) (err error) { | |
|
|
||
| // Deploy | ||
| if cfg.Remote { | ||
| // Write func.yaml before the pipeline uploads sources to the PVC, | ||
| // so that the on-cluster deploy step sees the latest config | ||
| // (e.g. --image-pull-secret, --service-account, --deployer). | ||
|
Comment on lines
+321
to
+323
|
||
| if err = f.Write(); err != nil { | ||
| return | ||
| } | ||
| var url string | ||
| // Invoke a remote build/push/deploy pipeline | ||
| // Returned is the function with fields like Registry, f.Deploy.Image & | ||
|
|
||
There was an error while loading. Please reload this page.