Relay installation script does not provide option for private registry

Hello everyone,

I want (or… have to) to use some relays in Azure. I am expected to use only images from “our
own” registry and thus have also an ACR in Azure.

I pushed the checkmk-relay image into there, but the install_relay.sh script does not
provide any option to specify a different registry or credentials for it.

I have modified it and changed the variable at the beginning to use our ACR, but it
does also need authentication to pull from it. So I added another variable, and
extended the podman command with the --creds option.

This works, but… it’s a hack. I can share my modifications if
anyone is interested in them.

Perhaps it would make sense to extend this script accordingly for future versions.

HTH and FYI,
Thomas

1 Like

Hi Thomas,

Thanks for reaching out!
As you mention for now this is a bit of a hack. In this setup you need to ensure manually that your site and Relay versions are in sync. Otherwise, it can happen that the site pushes a configuration to the Relay that Relay cannot handle.

We consider supporting this case officially going forward. At this point in time I cannot promise you a specific date or timeframe when that will be the case.

Christian

1 Like

Thanks Christian, much appreciated.