Skip to content

Commit

Permalink
to squash: address wording issues
Browse files Browse the repository at this point in the history
Signed-off-by: “adnan” <[email protected]>
  • Loading branch information
adnxn committed Oct 7, 2021
1 parent b6fc2a2 commit cf60fb2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/content/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ aliases:
- /how-parameters-work/
---

When you are authoring a bundle, you can define what parameters your bundle
requires such as username and password values for a backing database, or the
region that a certain resource should be deployed in, etc. Then in your
action's steps you can reference the parameters using porter's template
language `{{ bundle.parameters.db_name }}`.
When you are authoring a bundle, you can define parameters that are required by
your bundle. These parameters are restricted to a list of [allowable data
types](/author-bundles/#parameters) and are used to define parameters such as
username and password values for a backing database, or the region that a
certain resource should be deployed in, etc. Then in your action's steps you can
reference the parameters using porter's template language `{{
bundle.parameters.db_name }}`.

Parameter values are resolved from a combination of supplied parameter set
files, user-specified overrides and defaults defined by the bundle itself.
The resolved values are added to a claim receipt, which is passed in to
the bundle execution environment, e.g. the docker container, when the bundle
action is executed (install/upgrade/uninstall/invoke). Parameters are restricted
to a list of [allowable data
types](https://porter.sh/author-bundles/#parameters).
action is executed (install/upgrade/uninstall/invoke).

## Parameter Sets

Expand Down

0 comments on commit cf60fb2

Please sign in to comment.