Skip to content

Commit

Permalink
Update docs/stepactions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Chitrang Patel <[email protected]>
  • Loading branch information
Yongxuanzhang and chitrangpatel authored Nov 8, 2023
1 parent 5e137b3 commit 2814cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/stepactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ spec:

### Declaring VolumeMounts

You can define `VolumeMounts` in `StepAction`, note that the `name` of the `VolumeMount` should be a **single param reference** to a string param, i.e. `$(params.registryConfig)-foo` is invalid.
You can define `VolumeMounts` in `StepAction`, note that the `name` of the `VolumeMount` MUST be a **single param reference** to a string param ( for example, `$(params.registryConfig)` is valid but `$(params.registryConfig)-foo` or `"unparametrized-name"` is invalid).

```yaml
apiVersion: tekton.dev/v1alpha1
Expand Down

0 comments on commit 2814cf7

Please sign in to comment.