diff --git a/config/crd/bases/toolchain.dev.openshift.com_exports.yaml b/config/crd/bases/toolchain.dev.openshift.com_exports.yaml new file mode 100644 index 00000000..b8268f5f --- /dev/null +++ b/config/crd/bases/toolchain.dev.openshift.com_exports.yaml @@ -0,0 +1,118 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.10.0 + creationTimestamp: null + name: exports.toolchain.dev.openshift.com +spec: + group: toolchain.dev.openshift.com + names: + kind: Export + listKind: ExportList + plural: exports + singular: export + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: Export is the Schema for the exports API + 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 + spec: + properties: + branch: + description: Branch within the git repository + type: string + email: + description: Email used to specify the user who performed the git + commit + type: string + group: + description: Set automatically by the webhook to dictate the group + items: + type: string + type: array + labelSelector: + description: Filter Export by labels + type: string + method: + description: Method download or git. This defines which process to + use for exporting objects from a cluster + type: string + repo: + description: Git repository which will be cloned and updated + type: string + secret: + description: Predefined secret that contains an SSH key that will + be used for git cloning and pushing + type: string + user: + description: Set automatically by the webhook to dictate who will + run the export process + type: string + required: + - method + type: object + status: + description: ExportStatus defines the observed state of Export + properties: + completed: + description: Condition set by controller to signify the export completed + successfully and the route is available + type: boolean + conditions: + items: + properties: + lastTransitionTime: + description: Last time the condition transit from one status + to another. + format: date-time + type: string + lastUpdatedTime: + description: Last time the condition was updated + format: date-time + type: string + message: + description: Human readable message indicating details about + last transition. + type: string + reason: + description: (brief) reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type of condition + type: string + required: + - status + - type + type: object + type: array + extracted: + type: boolean + route: + description: Route that is defined by the controller to specify the + location of the zip file + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {}