TritonDataCenter / triton-cmon

The Metric Agent Proxy for Triton's Container Monitor https://github.com/joyent/rfd/blob/master/rfd/0027/README.md
Mozilla Public License 2.0
6 stars 12 forks source link

joyent/triton-cmon#27 want support for "administrator" role #28

Closed arekinath closed 3 years ago

arekinath commented 3 years ago

This has been running in production at UQ for the last few months. It requires a change in mahi (https://github.com/joyent/mahi/pull/15) in order to function, but will fall back to the old behaviour (no support for administrator role, but regular auth with a key on the account still works) if mahi is not up-to-date.

As with the change in sdc-docker, generating certificates to use with this feature requires a change in node-triton to support the --act-as switch with triton profile cmon-certgen. The patch is at https://github.com/eait-itig/node-triton/commit/e2b9d39ade282d54cbb298bd82d278670dfad869 for testing but will be cleaned up and PR'd separately once the docker and CMON server-side changes are in.