Skip to main content

Repository

Tiers

This feature is available for the following tiers: Standard, Premium.

Packages:

artifact.entigo.com/v1alpha1

Resource Types:

Repository

↩ Parent
NameTypeDescriptionRequired
apiVersionstringartifact.entigo.com/v1alpha1true
kindstringRepositorytrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject
false
statusobject
false

Repository.spec

↩ Parent
NameTypeDescriptionRequired
deletionProtectionboolean

Prevents accidental deletion of the Repository resource. The repository cannot be deleted while this is true. The default is true.


Default: true

false
lifecycleRules[]object

ECR lifecycle policy rules, replaces the environment default when set. Each rule needs one selector (tagPrefixes, tagPatterns or untagged) and one retention bound (keepCount or expireAfterDays). A rule without a selector matches every image and must be the last rule.

false
namestring

Name of the repository, defaults to the name of the resource if not specified


Validations:

  • self == oldSelf: Value is immutable
  • false
    pathstring

    Prefix path for the repository


    Validations:

  • self == oldSelf: Value is immutable
  • false

    Repository.spec.lifecycleRules[index]

    ↩ Parent
    NameTypeDescriptionRequired
    expireAfterDaysinteger

    Expire matching images this many days after they were pushed


    Minimum: 1

    false
    keepCountinteger

    Expire all but this many most recently pushed matching images


    Minimum: 1

    false
    tagPatterns[]string

    Match images whose tag matches one of these wildcard patterns

    false
    tagPrefixes[]string

    Match images whose tag starts with one of these prefixes

    false
    untaggedboolean

    Match untagged images

    false

    Repository.status

    ↩ Parent
    NameTypeDescriptionRequired
    repositoryUristring

    Repository URI for pulling and pushing images.

    false