From 723713f3724bcc75bffb3d461e7af5f82f67b71c Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Tue, 29 Oct 2024 16:32:32 +0000 Subject: [PATCH] chore: missing note about escaping and resource params location Signed-off-by: Ben Meier --- content/en/docs/score specification/score-spec-reference.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/en/docs/score specification/score-spec-reference.md b/content/en/docs/score specification/score-spec-reference.md index 47fca78..6139d63 100644 --- a/content/en/docs/score specification/score-spec-reference.md +++ b/content/en/docs/score specification/score-spec-reference.md @@ -334,13 +334,14 @@ In general, the Score specification does not specify a set of supported `resourc ## Placeholder References -Score Workloads support `${..}` placeholder references in order to support dynamic configuration within the Workload. Placeholders operate within the context of their Workload and can be used to interpolate values from either Workload metadata or the outputs of named resources. References to unknown keys will result in a failure. The `${}` syntax can be escaped with an additional dollar sign, for example: `$${not a placeholder}`. +Score Workloads support `${..}` placeholder references in order to support dynamic configuration within the Workload. Placeholders operate within the context of their Workload and can be used to interpolate values from either Workload metadata or the outputs of named resources. References to unknown keys will result in a failure. The `${}` syntax can be escaped with an additional dollar sign, for example: `$${not a placeholder}` and any `.`'s in a key can be escaped with a backslash: `${some\.thing}`. Placeholders are supported in the following locations: - `containers.*.variables.*`: The value of a variable may contain one or more placeholders. - `containers.*.files[*].content`: The inline content of a file may contain one or more placeholders. - `containers.*.volumes[*].source`: The volume source may contain placeholders. This usually refers to a particular named resource of type `volume`. +- `resources.*.params.*`: The resource params may accept placeholder resolutions. ### Workload metadata references