mirror of https://github.com/crossplane/docs.git
172 lines
6.8 KiB
YAML
172 lines
6.8 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.16.5
|
|
name: locks.pkg.crossplane.io
|
|
spec:
|
|
group: pkg.crossplane.io
|
|
names:
|
|
kind: Lock
|
|
listKind: LockList
|
|
plural: locks
|
|
singular: lock
|
|
scope: Cluster
|
|
versions:
|
|
- additionalPrinterColumns:
|
|
- jsonPath: .metadata.creationTimestamp
|
|
name: AGE
|
|
type: date
|
|
name: v1beta1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: Lock is the CRD type that tracks package dependencies.
|
|
properties:
|
|
apiVersion:
|
|
description: |-
|
|
APIVersion defines the versioned schema of this representation of an object.
|
|
Servers should convert recognized schemas to the latest internal value, and
|
|
may reject unrecognized values.
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
type: string
|
|
kind:
|
|
description: |-
|
|
Kind is a string value representing the REST resource this object represents.
|
|
Servers may infer this from the endpoint the client submits requests to.
|
|
Cannot be updated.
|
|
In CamelCase.
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
packages:
|
|
items:
|
|
description: LockPackage is a package that is in the lock.
|
|
properties:
|
|
apiVersion:
|
|
description: APIVersion of the package.
|
|
type: string
|
|
dependencies:
|
|
description: |-
|
|
Dependencies are the list of dependencies of this package. The order of
|
|
the dependencies will dictate the order in which they are resolved.
|
|
items:
|
|
description: A Dependency is a dependency of a package in the
|
|
lock.
|
|
properties:
|
|
apiVersion:
|
|
description: APIVersion of the package.
|
|
type: string
|
|
constraints:
|
|
description: |-
|
|
Constraints is a valid semver range or a digest, which will be used to select a valid
|
|
dependency version.
|
|
type: string
|
|
kind:
|
|
description: Kind of the package (not the kind of the package
|
|
revision).
|
|
type: string
|
|
package:
|
|
description: Package is the OCI image name without a tag or
|
|
digest.
|
|
type: string
|
|
type:
|
|
description: |-
|
|
Type is the type of package. Can be either Configuration or Provider.
|
|
Deprecated: Specify an apiVersion and kind instead.
|
|
enum:
|
|
- Configuration
|
|
- Provider
|
|
- Function
|
|
type: string
|
|
required:
|
|
- constraints
|
|
- package
|
|
type: object
|
|
type: array
|
|
kind:
|
|
description: Kind of the package (not the kind of the package revision).
|
|
type: string
|
|
name:
|
|
description: Name corresponds to the name of the package revision
|
|
for this package.
|
|
type: string
|
|
source:
|
|
description: Source is the OCI image name without a tag or digest.
|
|
type: string
|
|
type:
|
|
description: |-
|
|
Type is the type of package.
|
|
Deprecated: Specify an apiVersion and kind instead.
|
|
enum:
|
|
- Configuration
|
|
- Provider
|
|
- Function
|
|
type: string
|
|
version:
|
|
description: Version is the tag or digest of the OCI image.
|
|
type: string
|
|
required:
|
|
- dependencies
|
|
- name
|
|
- source
|
|
- version
|
|
type: object
|
|
type: array
|
|
status:
|
|
description: Status of the Lock.
|
|
properties:
|
|
conditions:
|
|
description: Conditions of the resource.
|
|
items:
|
|
description: A Condition that may apply to a resource.
|
|
properties:
|
|
lastTransitionTime:
|
|
description: |-
|
|
LastTransitionTime is the last time this condition transitioned from one
|
|
status to another.
|
|
format: date-time
|
|
type: string
|
|
message:
|
|
description: |-
|
|
A Message containing details about this condition's last transition from
|
|
one status to another, if any.
|
|
type: string
|
|
observedGeneration:
|
|
description: |-
|
|
ObservedGeneration represents the .metadata.generation that the condition was set based upon.
|
|
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
|
|
with respect to the current state of the instance.
|
|
format: int64
|
|
type: integer
|
|
reason:
|
|
description: A Reason for this condition's last transition from
|
|
one status to another.
|
|
type: string
|
|
status:
|
|
description: Status of this condition; is it currently True,
|
|
False, or Unknown?
|
|
type: string
|
|
type:
|
|
description: |-
|
|
Type of this condition. At most one of each condition type may apply to
|
|
a resource at any point in time.
|
|
type: string
|
|
required:
|
|
- lastTransitionTime
|
|
- reason
|
|
- status
|
|
- type
|
|
type: object
|
|
type: array
|
|
x-kubernetes-list-map-keys:
|
|
- type
|
|
x-kubernetes-list-type: map
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|