Custom certified tags

In the catalog, is it possible to create custom “certified” tags for templates?

To illustrate: adding the following label to a template’s config.yml

labels:
  io.rancher.certified: my-org

would generate a “My Organization”-certified tag in the template.

Not really; they become translation keys so the only supported values are rancher and partner (https://github.com/rancher/ui/blob/master/translations/en-us.yaml#L384-L390)

Got it.

Is the snippet above all I need to enable the tag? I tried with the rancher value in v1.2.0 and it didn’t work.

There is apparently another constraint that they apply only to the catalog named library, which was supposed to only apply to the rancher value (because we don’t want any other catalog containing things that claim to be certified by us). So that will be fixed in 1.2.1.

While I’m there I can add a different color and show an arbitrary string from that label if it’s not one of our standard ones.

That would be very useful to me! :slight_smile:

1 Like

Lovely! :metal:

Upgrading Rancher in 3… 2… :stuck_out_tongue:

That looks very great. How can I specify different colors? I’m using Rancher 1.6.

You can set the text but not the color.