A registry’s page

A registry’s tabs, the runtime environments naming it, and its test

  1. Tabs
  2. Used by
  3. Test connection and Delete

Tabs

A registry’s page shows the steps of its dialog as tabs, plus the runtime environments that name it:

Tab What it holds
Details The Name, the one a runtime environment’s registry gives, the Description, the Address and TLS check, then Enabled
Credentials The Credential it signs in with, a credential of Connections > Credentials of type Container registry, or none for a public registry
Used by The runtime environments pushed to it, with the count on the tab, see Used by

Each tab has its own address, such as /settings/registries/<id>/used-by, so a link or a bookmark opens it. The search of the title line narrows every tab at once. A registry kept in a git repository shows that repository at the top of its Details tab.

Enabled and TLS check are fields as the others: they mark the page as changed and are written by Save. On the Credentials tab, Add credential makes a new credential of type Container registry and chooses it. A password or token is never shown again once saved: change it on the credential.


Used by

The Used by tab lists the runtime environments of the Designer whose registry names this registry.

A row opens that runtime environment in the Designer. When there is none, the tab says No runtime environment is pushed to this registry. While it lists one, the registry cannot be deleted.


Test connection and Delete

The buttons top right act on the registry as it is saved.

Test connection sends a request to the registry’s v2 API, https://<host>/v2/, with its credential’s user and password or token. A registry that asks for a token is asked one with that login first. Without a credential, a registry that answers its API is enough. The message says <name> connection ok, or why it failed: the registry refused the login, or the registry needs a login: choose its credential. With TLS check off, the certificate is not checked.

Delete asks first, then deletes the registry and goes back to the list. It is refused while a runtime environment names it, naming each one. Its credential stays under Connections > Credentials. Next to them, Save saves the Details and Credentials tabs.