This is an operator that enables the Ubuntu Software Centre backend ratings service to run on Kubernetes with Juju, integrating with PostgreSQL for its database, and Traefik to provide ingress.
First ensure that you have an appropriate development setup for Juju.
charmcraft pack
juju add-model ratings
image="$(yq '.resources."ratings-image"."upstream-source"' metadata.yaml)"
juju deploy ./ubuntu-software-ratings_ubuntu-22.04-amd64.charm ratings \
--resource ratings-image="$image"
juju deploy postgresql --channel edge
juju relate ratings postgresql