Since score-compose version 0.27.0 and score-k8s version 0.4.0, as Platform Engineers you can patch the default Workload manifests generated by score-compose|k8s generate. Seemlessly for your Developers, by using score-compose|k8s init --patch-templates.
This repository is a library of patch templates examples that you can use with either score-compose or score-k8s.
Note: Do you have other examples that you would like to see in this list? Please file an issue in this repository, thanks! We'll find someone in the community willing to help you on this. Or do you have your own patch templates that you would like to share with the community? Please add them in the repository by opening a PR, thanks!
dapr.tplmicrocks.tplollama.tplunprivileged.tpl
Example of usage:
score-compose init \
--patch-templates https://raw.githubusercontent.com/score-spec/community-patchers/refs/heads/main/score-compose/dapr.tpl \
--patch-templates https://raw.githubusercontent.com/score-spec/community-patchers/refs/heads/main/score-compose/microcks.tpl \
--patch-templates https://raw.githubusercontent.com/score-spec/community-patchers/refs/heads/main/score-compose/ollama.tpl \
--patch-templates https://raw.githubusercontent.com/score-spec/community-patchers/refs/heads/main/score-compose/unprivileged.tpldelete-default-manifests.tplnamespace-pss-restricted.tplnamespace-with-allow-ingress-within-namespace-netpol.tplnamespace-with-deny-all-netpol.tplservice-account.tplservice-account-admin.tplstatefulset.tplunprivileged.tpl
Example of usage:
score-k8s init \
--patch-templates https://raw.githubusercontent.com/score-spec/community-patchers/refs/heads/main/score-k8s/unprivileged.tpl \
--patch-templates https://raw.githubusercontent.com/score-spec/community-patchers/refs/heads/main/score-k8s/service-account.tplNote: Do you have a repository, a blog post or a talk using this library? Please add your link in this list above by opening a PR in this repository, thanks!