Title: MirrorPolicy
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + apiVersion | No | const | No | - | Apiversion |
| + kind | No | const | No | - | Kind |
| + metadata | No | object | No | In #/$defs/Metadata | Metadata |
| + spec | No | object | No | In #/$defs/Spec | Spec |
1. Property apiVersion
Title: Apiversion
Description: API version; pinned to houba.io/v1alpha1.
Specific value: "houba.io/v1alpha1"
2. Property kind
Title: Kind
Description: Resource kind; always MirrorPolicy.
Specific value: "MirrorPolicy"
Title: Metadata
| |
|---|
| Type | object |
| Required | Yes |
| Additional properties | Not allowed |
| Defined in | #/$defs/Metadata |
Description: Policy metadata (name, labels).
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + name | No | string | No | - | Name |
| - labels | No | object | No | - | Labels |
Title: Name
Description: Policy name; stamped as io.houba.policy and used for collision checks.
Title: Labels
Description: Free-form labels (not stamped).
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| - | No | string | No | - | - |
4. Property spec
Title: Spec
| |
|---|
| Type | object |
| Required | Yes |
| Additional properties | Not allowed |
| Defined in | #/$defs/Spec |
Description: Policy specification.
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + artifactType | No | enum (of string) | No | In #/$defs/ArtifactType | ArtifactType |
| + source | No | object | No | In #/$defs/Source | Source |
| - deletionMode | No | Combination | No | - | Policy-level deletion mode; `null` ⇒ defer to the destination/global cascade. |
| - defaults | No | Combination | No | - | Defaults inherited by every import. |
| + imports | No | array | No | - | Imports |
4.1. Property artifactType
Title: ArtifactType
| |
|---|
| Type | enum (of string) |
| Required | Yes |
| Defined in | #/$defs/ArtifactType |
Description: Artifact kind: image | helmChart | generic.
Must be one of:
- "image"
- "helmChart"
- "generic"
4.2. Property source
Title: Source
| |
|---|
| Type | object |
| Required | Yes |
| Additional properties | Not allowed |
| Defined in | #/$defs/Source |
Description: Upstream source registry + repository.
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + registry | No | string | No | - | Registry |
| + repository | No | string | No | - | Repository |
4.2.1. Property registry
Title: Registry
Description: Source registry host, e.g. docker.io.
4.2.2. Property repository
Title: Repository
Description: Source repository, e.g. library/redis.
4.3. Property deletionMode
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Policy-level deletion mode; null ⇒ defer to the destination/global cascade.
4.3.1. Property DeletionMode
Title: DeletionMode
| |
|---|
| Type | enum (of string) |
| Required | No |
| Defined in | #/$defs/DeletionMode |
Must be one of:
4.3.2. Property item 1
4.4. Property defaults
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Defaults inherited by every import.
4.4.1. Property Defaults
Title: Defaults
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Defined in | #/$defs/Defaults |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| - destinations | No | Combination | No | - | Destinations |
| - transform | No | Combination | No | - | Transform |
| - archive | No | Combination | No | - | Default retention policy for every import. |
| - tags | No | Combination | No | - | Default tag-selection rules for every import. |
| - platforms | No | Combination | No | - | Platforms |
| - owners | No | Combination | No | - | Owners |
| - vendor | No | Combination | No | - | Vendor |
4.4.1.1. Property destinations
Title: Destinations
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Default destinations for every import.
4.4.1.1.1. Property item 0
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
4.4.1.1.1.1. Destination
Title: Destination
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Defined in | #/$defs/Destination |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| - registry | No | Combination | No | - | Registry |
| + project | No | string | No | - | Project |
| + repository | No | string | No | - | Repository |
4.4.1.1.1.1.1. Property registry
Title: Registry
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Logical registry name from the roster; may be omitted iff exactly one registry is configured.
4.4.1.1.1.1.1.1. Property item 0
4.4.1.1.1.1.1.2. Property item 1
4.4.1.1.1.1.2. Property project
Title: Project
Description: Destination project / namespace.
4.4.1.1.1.1.3. Property repository
Title: Repository
Description: Destination repository.
4.4.1.1.2. Property item 1
Title: Transform
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Default transform steps for every import.
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Defined in | #/$defs/TransformStep |
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + injectCA | No | object | No | - | _InjectCAParams |
Title: _InjectCAParams
| |
|---|
| Type | object |
| Required | Yes |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + certs | No | array of string | No | - | Certs |
Title: Certs
| |
|---|
| Type | array of string |
| Required | Yes |
| Array restrictions |
|---|
| Min items | 1 |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + rewritePackageSources | No | object | No | - | _RewritePackageSourcesParams |
Title: _RewritePackageSourcesParams
| |
|---|
| Type | object |
| Required | Yes |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + mirror | No | string | No | - | Mirror |
Title: Mirror
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + setTimezone | No | object | No | - | _SetTimezoneParams |
Title: _SetTimezoneParams
| |
|---|
| Type | object |
| Required | Yes |
| Additional properties | Not allowed |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + zone | No | string | No | - | Zone |
Title: Zone
4.4.1.3. Property archive
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Default retention policy for every import.
4.4.1.3.1. Property Archive
Title: Archive
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Defined in | #/$defs/Archive |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| - keep | No | Combination | No | - | Keep |
| - olderThanDays | No | Combination | No | - | Olderthandays |
4.4.1.3.1.1. Property keep
Title: Keep
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Retain the N most-recently-imported tags of each stream.
4.4.1.3.1.1.1. Property item 0
4.4.1.3.1.1.2. Property item 1
4.4.1.3.1.2. Property olderThanDays
Title: Olderthandays
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Of the surplus, only mark tags older than this many days (both conditions hold).
4.4.1.3.1.2.1. Property item 0
4.4.1.3.1.2.2. Property item 1
4.4.1.3.2. Property item 1
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Default tag-selection rules for every import.
Title: TagSelection
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Defined in | #/$defs/TagSelection |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| - includeRegex | No | Combination | No | - | Includeregex |
| - excludeRegex | No | array of string | No | - | Excluderegex |
| - semverOnly | No | boolean | No | - | Semveronly |
| - names | No | array of string | No | - | Names |
| - aliases | No | array of string | No | - | Aliases |
Title: Includeregex
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Only tags matching this regex are selected (applied before excludes).
Title: Excluderegex
| |
|---|
| Type | array of string |
| Required | No |
Description: Tags matching any of these regexes are dropped.
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
Title: Semveronly
| |
|---|
| Type | boolean |
| Required | No |
| Default | true |
Description: Keep only tags parseable as semver (drops latest, date tags, …).
Title: Names
| |
|---|
| Type | array of string |
| Required | No |
Description: Explicit tag names to always include.
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
Title: Aliases
| |
|---|
| Type | array of string |
| Required | No |
Description: Moving-tag alias templates (e.g. {major}.{minor}, latest) re-pointed every run.
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
Title: Platforms
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Default platforms for every import.
| |
|---|
| Type | array of string |
| Required | No |
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
4.4.1.6. Property owners
Title: Owners
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Default owners (Backstage entity refs) for every import.
4.4.1.6.1. Property item 0
| |
|---|
| Type | array of string |
| Required | No |
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
4.4.1.6.1.1. item 0 items
4.4.1.6.2. Property item 1
4.4.1.7. Property vendor
Title: Vendor
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Default vendor for every import, stamped as org.opencontainers.image.vendor (the rebuilding organization).
4.4.1.7.1. Property item 0
4.4.1.7.2. Property item 1
4.4.2. Property item 1
4.5. Property imports
Title: Imports
Description: One or more import profiles (at least one).
| Array restrictions |
|---|
| Min items | 1 |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
4.5.1. ImportProfile
Title: ImportProfile
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Defined in | #/$defs/ImportProfile |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + name | No | string | No | - | Name |
| + tags | No | object | No | Same as TagSelection | TagSelection |
| - destinations | No | Combination | No | - | Destinations |
| - transform | No | Combination | No | - | Transform |
| - archive | No | Combination | No | - | Retention policy (overrides defaults). |
| - platforms | No | Combination | No | - | Platforms |
| - variants | No | Combination | No | - | Variants |
| - owners | No | Combination | No | - | Owners |
| - vendor | No | Combination | No | - | Vendor |
4.5.1.1. Property name
Title: Name
Description: Import name; part of the three-level policy/import/variant identity in the stamp.
Title: TagSelection
| |
|---|
| Type | object |
| Required | Yes |
| Additional properties | Not allowed |
| Same definition as | TagSelection |
Description: Tag-selection rules for this import.
4.5.1.3. Property destinations
Title: Destinations
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Destinations (overrides defaults).
4.5.1.3.1. Property item 0
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
4.5.1.3.1.1. Destination
Title: Destination
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Same definition as | Destination |
4.5.1.3.2. Property item 1
Title: Transform
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Transform steps (overrides defaults).
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
4.5.1.5. Property archive
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Retention policy (overrides defaults).
4.5.1.5.1. Property Archive
Title: Archive
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Same definition as | Archive |
4.5.1.5.2. Property item 1
Title: Platforms
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Platforms (overrides defaults).
| |
|---|
| Type | array of string |
| Required | No |
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
4.5.1.7. Property variants
Title: Variants
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Variants to fan this import into.
4.5.1.7.1. Property item 0
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
| Each item of this array must be | Description |
|---|
| Variant | - |
4.5.1.7.1.1. Variant
Title: Variant
| |
|---|
| Type | object |
| Required | No |
| Additional properties | Not allowed |
| Defined in | #/$defs/Variant |
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|
| + name | No | string | No | - | Name |
| - suffix | No | string | No | - | Suffix |
| - transform | No | Combination | No | - | Transform |
4.5.1.7.1.1.1. Property name
Title: Name
Description: Variant name.
4.5.1.7.1.1.2. Property suffix
Title: Suffix
| |
|---|
| Type | string |
| Required | No |
| Default | "" |
Description: Tag suffix appended for this variant, e.g. -eu.
Title: Transform
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Per-variant transform; null ⇒ inherit the resolved transform.
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
4.5.1.7.2. Property item 1
4.5.1.8. Property owners
Title: Owners
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Owners as Backstage entity refs (stamped as io.houba.owners).
4.5.1.8.1. Property item 0
| |
|---|
| Type | array of string |
| Required | No |
| Array restrictions |
|---|
| Min items | N/A |
| Max items | N/A |
| Items unicity | False |
| Additional items | False |
| Tuple validation | See below |
4.5.1.8.1.1. item 0 items
4.5.1.8.2. Property item 1
4.5.1.9. Property vendor
Title: Vendor
| |
|---|
| Type | combining |
| Required | No |
| Additional properties | Any type allowed |
| Default | null |
Description: Vendor (overrides defaults), stamped as org.opencontainers.image.vendor.
4.5.1.9.1. Property item 0
4.5.1.9.2. Property item 1