Skip to content

Commit

Permalink
corrected doc (#2368)
Browse files Browse the repository at this point in the history
Signed-off-by: swastik959 <Sswastik959@gmail.com>
  • Loading branch information
swastik959 authored Jun 17, 2024
1 parent 74bc6bb commit 2ac73da
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions docs/reference/func_yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,25 @@ such as the function name, and the image name.

The following fields are used in `func.yaml`.


### `build`

Specifies how to build the fuction. Possible values are "local" to build on your local
computer, or "git" to build on the cluster by pulling function source code from a git
repository.

### `builderImages`

Defines the builder images to use by builder implementations in lieu of the defaults.
They key is the builder's short name. For example:

```
builderImages:
pack: example.com/user/my-pack-node-builder
s2i: example.com/user/my-s2i-node-builder
build:
builderImages:
pack: example.com/user/my-pack-node-builder
s2i: example.com/user/my-s2i-node-builder
```

### `build`

Specifies how to build the fuction. Possible values are "local" to build on your local
computer, or "git" to build on the cluster by pulling function source code from a git
repository.

### `git`

If using a `git` build strategy, this field is used to specify the git URL as well
Expand Down

0 comments on commit 2ac73da

Please sign in to comment.