Issue with compose-go when using patch-templates and service with provider in resources-provisioners.
score-compose init \
--no-sample \
--no-default-provisioners \
--patch-templates https://raw.githubusercontent.com/score-spec/community-patchers/refs/heads/main/score-compose/unprivileged.tpl \
--provisioners https://raw.githubusercontent.com/score-spec/community-provisioners/refs/heads/main/llm-model/score-compose/10-dmr-llm-model-via-service-provider.provisioners.yaml
apiVersion: score.dev/v1b1
metadata:
name: workload
containers:
container:
image: .
resources:
model:
type: llm-model
score-compose generate score.yaml \
--image test
Will give this error:
...
INFO: Applying patching template 1
INFO: Applying patch to services.workload-container.read_only
INFO: Applying patch to services.workload-container.user
INFO: Applying patch to services.workload-container.cap_drop
Error: failed to patch template 1: failed to unmarshal patched output: json: unknown field "type"