Developer Documentation

HarborStorageSpec

The Harbor.StorageSpec structure contains the specification required to configure storage associated with a Harbor registry. In this version, Harbor registry is created in Kubernetes environment, information in this structure will result in storage quotas on a Kubernetes namespace.


Properties

Required Property Name Type Description
optional limit integer

The maximum amount of storage (in mebibytes) which can be utilized by the registry for this specification. If unset, a default limit of 204800 mebibytes will be set as the registry’s storage capacity.

required policy string

Identifier of the storage policy. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: SpsStorageProfile. When operations return a value of this structure as a result, the field will be an identifier for the resource type: SpsStorageProfile.

Feedback

Was this page helpful?