Skip to content

Commit

Permalink
update document to expand on param defaults
Browse files Browse the repository at this point in the history
Signed-off-by: schristoff <28318173+schristoff@users.noreply.github.com>
  • Loading branch information
schristoff committed Sep 25, 2023
1 parent 39a3c49 commit 0d078e8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/content/wiring.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ You can also provide any other attributes, as specified by the CNAB [parameters]
default: "wordpress"
```

If using the default parameter field it must be set. However, it must be passed in as an empty
type. For example, for an empty string, pass in `""` as the default, or for an object use `{}`:

```yaml
- name: command
type: object
default: {}
```

### File Parameters

Porter also enables the use of file parameters in a bundle.
Expand Down

0 comments on commit 0d078e8

Please sign in to comment.