ProviderConfig (kind: providerconfig)
The registry entry for one provider type (azure, aws, kamatera, gcp, …): its valid regions
and supported resource types. meta.name is the type key itself (e.g. azure) — matched
against a real provider document’s spec.type.
Promoted to its own kind (rather than a bare list on configuration) so a
platform with many provider types doesn’t need one shared, ever-growing file — each type gets
its own file, own PR, own reviewer.
Schema
spec.description— description of the provider typespec.regions[]— supported regions, each{name, geography, description, custom}.geographyis an optional compliance/deployment boundary tag grouping several regions (mirrors Azure’s own “geography” concept) — referenced bytenant.md’sspec.geographies.spec.additional_regions— allow regions not listed above (defaultfalse)spec.resources[]— supported resource types, each{name, category, subcategory, description}spec.additional_resources— allow resource types not listed above (defaultfalse)
Shape validation for a resource’s own spec.configuration values (previously an embedded,
regex-only schema here) is now a separate attributeconfig document, keyed
by a {spec.provider_type, spec.resource_type} selector — strictly more capable (real JSON
Schema types, nesting, cross-field checks) and not duplicated here.
Example
apiVersion: strata.huybrechts.xyz/v2
kind: providerconfig
meta:
name: azure
spec:
description: "Microsoft Azure provider type registry"
additional_regions: false
regions:
- name: westeurope
geography: europe
description: "West Europe (Netherlands)"
- name: northeurope
geography: europe
description: "North Europe (Ireland)"
additional_resources: false
resources:
- name: storage_account
category: storage
subcategory: blob
description: "Azure Storage Account"
- name: virtual_machine
category: compute
subcategory: virtualmachine
description: "Azure Virtual Machine"
Notes
Shape constraints on a resource type’s
spec.configurationare declared as separateattributeconfigdocuments, not here — see that doc’s Example for the equivalent of this file’s old embeddedstorage_accountschema.