Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ something.:0000.xyz # patches the xyz item in the "0000" item of something

## Example

Here is a concrete example showing how to inject more security for each Workload by using this template [`score-compose/unprivileged.tpl`](https://raw.githubusercontent.com/score-spec/community-patchers/refs/heads/main/score-compose/unprivileged.tpl):
Here is a concrete example showing how to inject more security for each Workload by using this template [`score-compose/unprivileged.tpl`](https://docs.score.dev/examples/patch-templates/score-compose/unprivileged/):

```yaml
{{ range $name, $spec := .Workloads }}
Expand Down Expand Up @@ -63,4 +63,4 @@ And then see that this patch template was applied on the final generated `compos

## Write your own patch template

A list of patch templates shared by the community can be found [here](https://github.com/score-spec/community-patchers). Users are encouraged to use them and contribute to this growing list of patch templates.
A list of patch templates for `score-compose` shared by the community can be found [here](https://docs.score.dev/examples/patch-templates?implementation=score-compose). Users are encouraged to use them and contribute to this growing list of patch templates.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ something.:0000.xyz # patches the xyz item in the "0000" item of something

## Example

Here is a concrete example showing how to inject more security for each Workload by using this template [`score-k8s/unprivileged.tpl`](https://raw.githubusercontent.com/score-spec/community-patchers/refs/heads/main/score-k8s/unprivileged.tpl):
Here is a concrete example showing how to inject more security for each Workload by using this template [`score-k8s/unprivileged.tpl`](https://docs.score.dev/examples/patch-templates/score-k8s/unprivileged/):

```yaml
{{ range $i, $m := .Manifests }}
Expand Down Expand Up @@ -77,4 +77,4 @@ And then see that this patch template was applied on the final generated `manife

## Write your own patch template

A list of patch templates shared by the community can be found [here](https://github.com/score-spec/community-patchers). Users are encouraged to use them and contribute to this growing list of patch templates.
A list of patch templates for `score-k8s` shared by the community can be found [here](https://docs.score.dev/examples/patch-templates?implementation=score-k8s). Users are encouraged to use them and contribute to this growing list of patch templates.
Loading