26.37. tenant-controller

The following documentation is for tenant-controller content package at version v0.0.0.

The tenant-controller plugin maintains the membership of a tenant based upon parameters assigned to a machine.

Using the tenant-controller/parameter-list parameter, the plugin watches the machine events watching those parameters. If the machine has one of those parameters or those parameters change, the value of the parameter will be used a tenant name. The tenant referenced by that name will be created if not present and the machines membership list on the tenant will be updated to include the machine. If the machine is deleted, the machine will be removed from the tenants reference by the parameter list parameters.

26.37.1. params

The content package provides the following params.

26.37.1.1. tenant-controller/parameter-list

This is a list parameters that if set will cause the creation of a tenant with that name and the addition of the machine to the membership for that tenant.