Developer Documentation

HarborCreateSpec

The Harbor.CreateSpec structure contains the specification required to create a Harbor registry.


Properties

Required Property Name Type Description
optional cluster string

Identifier of the cluster hosting the registry. If unset, registry will not be created on a specified cluster. This is required in current version, since Harbor can only be created on a cluster with Kubernetes enabled. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ClusterComputeResource. When operations return a value of this structure as a result, the field will be an identifier for the resource type: ClusterComputeResource.

optional garbage_collection HarborGarbageCollection

Garbage collection configuration for the Harbor registry. If unset, a default configuration is set, Recurrence#WEEKLY, DayOfWeek#SATURDAY, GarbageCollection#hour is 2, GarbageCollection#minute is 0.

required storage array of HarborStorageSpec

Storage associated with the Harbor registry. The list contains only one storage backing in this version.

Feedback

Was this page helpful?