A new `0` track for Notary K8s

Hello,

Can you please create a new 0 track for the Notary K8s charm?

Thank you,

Note: I tried to do this via self-service with:

curl https://api.charmhub.io/v1/charm/notary-k8s/tracks -X POST -H'Content-type: application/json' -H "$CHARMHUB_MACAROON_HEADER" -d '[{"name": "0"}]'.

I got the following error:

{"error-list":[{"code":"missing-guardrails","message":"Missing guardrails for requested ('charm', 'qICIBIa47DAeKtvZChzH4a3597KH5VqJ') package"}]}.

Hi, @gruyaume !

Could I propose to add a guardrail regexp and then you should be able to use self-service endpoint for tracks? It seems that you need just a plain number, so \d+ looks like a good enough guardrail.

@drednout Yes that’s good with me!

1 Like

I’ve created a guardrail for notary-k8s:

    "guardrail_patterns": [
        {
            "pattern": "\\d+",
            "created_at": "2024-10-10T07:50:36.683411"
        }
    ],

Have a great day, @gruyaume !