/ubuntu-pro-operator

A charmed operator for Ubuntu Pro which allows management of the Pro subscription and Pro services.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

charm-ubuntu-advantage

This charm enables Ubuntu Pro (https://ubuntu.com/pro) subscriptions.

Despite the rename of Ubuntu Advantage to Ubuntu Pro, the "ubuntu-advantage" name remains to avoid breaking existing deployments of this charm.

This charm is maintained by the Ubuntu Pro team within Commercial Systems at Canonical.

Usage

Be sure to replace <token> with a valid value from the Ubuntu Pro website:

juju deploy ubuntu
juju deploy ubuntu-advantage --config token=<token>
juju add-relation ubuntu ubuntu-advantage

Development

This charm is developed at https://code.launchpad.net/charm-ubuntu-advantage.

It is released to the edge channel via a recipe: https://launchpad.net/~ubuntu-advantage-charmers/charm-ubuntu-advantage/+charm/ubuntu-advantage.

It is currently published at https://charmhub.io/ubuntu-advantage, but it is not promulgated.

In the past, it was also published as https://charmhub.io/ubuntu-pro (also not promulgated), but that was discontinued until proper support for charm renames is introduced.

Proxy config

By default, this charm will pick up the proxy configuration from the Juju model. If you want to use a different proxy instead for the units, you can override that with configs override-http-proxy and override-https-proxy.

Please note that in all cases, the Ubuntu Pro client will check if these proxy configs are valid. If it cannot use them (e.g., proxy is not reachable), you will most likely get a hook failed: "config-changed" message. You can check the causes with juju debug-log.