Is this a new feature, an enhancement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem this feature solves
TenantCapabilities.targetedInstanceCreation is currently readOnly: true in the API spec. It can only be set via direct DB update on the tenant.config JSONB column.
Infrastructure providers need to enable targeted instance creation for tenants so they can specify machineId when creating instances (e.g., for datahall site controller provisioning where specific machines must map to specific hostnames/roles).
Request:
- Allow setting targetedInstanceCreation during tenant creation (auto-created via GET /tenant/current. Currently no way to pass capabilities)
- Add a PATCH endpoint or extend the existing tenant/tenant-account API to allow updating targetedInstanceCreation after creation
Feature Description
As an NCP, I want to be able to toggle/set targetedInstanceCreation so that I can specify machineId when creating Instances for VPCs.
Describe your ideal solution
Direct DB update:
UPDATE tenant SET config = jsonb_set(config, '{targetedInstanceCreation}', 'true') WHERE id = '<tenant_id>';
Describe any alternatives you have considered
No response
Additional context
No response
Code of Conduct
Is this a new feature, an enhancement, or a change to existing functionality?
New Feature
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem this feature solves
TenantCapabilities.targetedInstanceCreation is currently readOnly: true in the API spec. It can only be set via direct DB update on the tenant.config JSONB column.
Infrastructure providers need to enable targeted instance creation for tenants so they can specify machineId when creating instances (e.g., for datahall site controller provisioning where specific machines must map to specific hostnames/roles).
Request:
Feature Description
As an NCP, I want to be able to toggle/set targetedInstanceCreation so that I can specify machineId when creating Instances for VPCs.
Describe your ideal solution
Direct DB update:
UPDATE tenant SET config = jsonb_set(config, '{targetedInstanceCreation}', 'true') WHERE id = '<tenant_id>';Describe any alternatives you have considered
No response
Additional context
No response
Code of Conduct