Surface default instance group names in /api/v2/settings/all

This commit is contained in:
Shane McDonald 2021-06-07 12:07:19 -04:00
parent ec8ac6f1a7
commit 023cc68ba2
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -177,6 +177,24 @@ register(
read_only=True,
)
register(
'DEFAULT_CONTROL_PLANE_QUEUE_NAME',
field_class=fields.CharField,
label=_('The instance group where control plane tasks run'),
category=_('System'),
category_slug='system',
read_only=True,
)
register(
'DEFAULT_EXECUTION_QUEUE_NAME',
field_class=fields.CharField,
label=_('The instance group where user jobs run (currently only on non-VM installs)'),
category=_('System'),
category_slug='system',
read_only=True,
)
register(
'DEFAULT_EXECUTION_ENVIRONMENT',
field_class=fields.PrimaryKeyRelatedField,