Skip to content

Commit 3d199b9

Browse files
committed
Add FAQ on how to create source repository credentials
Signed-off-by: fangtian <fangtian@kubesphere.io>
1 parent ec83c6c commit 3d199b9

File tree

1 file changed

+3
-0
lines changed
  • content/en/docs/reference

1 file changed

+3
-0
lines changed

content/en/docs/reference/faq.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,5 +228,8 @@ spec:
228228
dapr.io/app-max-concurrency: "value"
229229
```
230230

231+
## Q: How to create source repository credential for the function image build process?
231232

233+
A: You may be prompted with errors like `Unsupported type of credentials provided, either SSH private key or username/password is supported (exit code 110)` when using `spec.build.srcRepo.credentials`, which means you are using an incorrect Secret resource as source repository crendital.
232234

235+
OpenFunction currently implements the function image building framework based on [ShipWright](https://shipwright.io/), so we need to refer to this [document](https://shipwright.io/docs/build/authentication/#authentication-for-git) to setup the correct source repository credential.

0 commit comments

Comments
 (0)