Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

community-patchers

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!

For score-compose

  • dapr.tpl
  • microcks.tpl
  • ollama.tpl
  • unprivileged.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.tpl

For score-k8s

  • delete-default-manifests.tpl
  • namespace-pss-restricted.tpl
  • namespace-with-allow-ingress-within-namespace-netpol.tpl
  • namespace-with-deny-all-netpol.tpl
  • service-account.tpl
  • service-account-admin.tpl
  • statefulset.tpl
  • unprivileged.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.tpl

Examples by the community using this library

Note: 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!

Releases

Packages

Used by

Contributors

Languages