Repository

ecr.services.k8s.aws/v1alpha1

TypeLink
GoDocecr-controller/apis/v1alpha1#Repository

Metadata

PropertyValue
ScopeNamespaced
KindRepository
ListKindRepositoryList
Pluralrepositories
Singularrepository

An object representing a repository.

Spec

encryptionConfiguration: 
  encryptionType: string
  kmsKey: string
imageScanningConfiguration: 
  scanOnPush: boolean
imageTagMutability: string
lifecyclePolicy: string
name: string
policy: string
registryID: string
tags:
- key: string
  value: string
FieldDescription
encryptionConfiguration
Optional
object
The encryption configuration for the repository. This determines how the
contents of your repository are encrypted at rest.
encryptionConfiguration.encryptionType
Optional
string
encryptionConfiguration.kmsKey
Optional
string
imageScanningConfiguration
Optional
object
The image scanning configuration for the repository. This determines whether
images are scanned for known vulnerabilities after being pushed to the repository.
imageScanningConfiguration.scanOnPush
Optional
boolean
imageTagMutability
Optional
string
The tag mutability setting for the repository. If this parameter is omitted,
the default setting of MUTABLE will be used which will allow image tags to
be overwritten. If IMMUTABLE is specified, all image tags within the repository
will be immutable which will prevent them from being overwritten.
lifecyclePolicy
Optional
string
The JSON repository policy text to apply to the repository.
name
Required
string
The name to use for the repository. The repository name may be specified
on its own (such as nginx-web-app) or it can be prepended with a namespace
to group the repository into a category (such as project-a/nginx-web-app).
policy
Optional
string
The JSON repository policy text to apply to the repository. For more information,
see Amazon ECR repository policies (https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html)
in the Amazon Elastic Container Registry User Guide.
registryID
Optional
string
The Amazon Web Services account ID associated with the registry to create
the repository. If you do not specify a registry, the default registry is
assumed.
tags
Optional
array
The metadata that you apply to the repository to help you categorize and
organize them. Each tag consists of a key and an optional value, both of
which you define. Tag keys can have a maximum character length of 128 characters,
and tag values can have a maximum length of 256 characters.
tags.[]
Required
object
The metadata to apply to a resource to help you categorize and organize them.
Each tag consists of a key and a value, both of which you define. Tag keys
can have a maximum character length of 128 characters, and tag values can
have a maximum length of 256 characters.
tags.[].value
Optional
string

Status

ackResourceMetadata: 
  arn: string
  ownerAccountID: string
  region: string
conditions:
- lastTransitionTime: string
  message: string
  reason: string
  status: string
  type: string
createdAt: string
repositoryURI: string
FieldDescription
ackResourceMetadata
Optional
object
All CRs managed by ACK have a common Status.ACKResourceMetadata member
that is used to contain resource sync state, account ownership,
constructed ARN for the resource
ackResourceMetadata.arn
Optional
string
ARN is the Amazon Resource Name for the resource. This is a
globally-unique identifier and is set only by the ACK service controller
once the controller has orchestrated the creation of the resource OR
when it has verified that an “adopted” resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR’s Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
ackResourceMetadata.ownerAccountID
Required
string
OwnerAccountID is the AWS Account ID of the account that owns the
backend AWS service API resource.
ackResourceMetadata.region
Required
string
Region is the AWS region in which the resource exists or will exist.
conditions
Optional
array
All CRS managed by ACK have a common Status.Conditions member that
contains a collection of ackv1alpha1.Condition objects that describe
the various terminal states of the CR and its backend AWS service API
resource
conditions.[]
Required
object
Condition is the common struct used by all CRDs managed by ACK service
controllers to indicate terminal states of the CR and its backend AWS
service API resource
conditions.[].message
Optional
string
A human readable message indicating details about the transition.
conditions.[].reason
Optional
string
The reason for the condition’s last transition.
conditions.[].status
Optional
string
Status of the condition, one of True, False, Unknown.
conditions.[].type
Optional
string
Type is the type of the Condition
createdAt
Optional
string
The date and time, in JavaScript date format, when the repository was created.
repositoryURI
Optional
string
The URI for the repository. You can use this URI for container image push
and pull operations.