- API Reference
Repository
This feature is available for the following tiers: Standard, Premium.
Packages:
artifact.entigo.com/v1alpha1
Resource Types:
Repository
↩ Parent| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | artifact.entigo.com/v1alpha1 | true |
| kind | string | Repository | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | false | |
| status | object | false |
Repository.spec
↩ Parent| Name | Type | Description | Required |
|---|---|---|---|
| deletionProtection | boolean | 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 |
| name | string | Name of the repository, defaults to the name of the resource if not specified Validations: | false |
| path | string | Prefix path for the repository Validations: | false |
Repository.spec.lifecycleRules[index]
↩ Parent| Name | Type | Description | Required |
|---|---|---|---|
| expireAfterDays | integer | Expire matching images this many days after they were pushed Minimum: 1 | false |
| keepCount | integer | 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 |
| untagged | boolean | Match untagged images | false |
Repository.status
↩ Parent| Name | Type | Description | Required |
|---|---|---|---|
| repositoryUri | string | Repository URI for pulling and pushing images. | false |