Skip to content

mathieu-benoit/score-openchoreo

Repository files navigation

score-openchoreo

You need to install the score-k8s CLI to run these commands below.

You can also open the .devcontainer in your VS Code where score-k8s is already installed. You can also open this repository in GitHub Codespaces to use this .devcontainer.

score-k8s init --no-sample \
    --patch-templates ./score-k8s/patchers/openchoreo.tpl \
    --provisioners ./score-k8s/provisioners/dns.provisioners.yaml \
    --provisioners ./score-k8s/provisioners/route.provisioners.yaml \
    --provisioners https://raw.githubusercontent.com/score-spec/community-provisioners/refs/heads/main/service/score-k8s/10-service.provisioners.yaml

score-k8s generate \
    ad/score.yaml \
    cart/score.yaml \
    currency/score.yaml \
    email/score.yaml \
    payment/score.yaml \
    productcatalog/score.yaml \
    recommendation/score.yaml \
    shipping/score.yaml \
    checkout/score.yaml \
    frontend/score.yaml \
    loadgenerator/score.yaml \
    --namespace onlineboutique \
    --generate-namespace \
    -o manifests.yaml

And then you can apply the generated manifests.yaml to OpenChoreo.

About

Quick proof of concept to generate OpenChoreo's manifests from Score files via score-k8s

Topics

Resources

Stars

Watchers

Forks

Contributors