Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 118 additions & 0 deletions config/crd/bases/toolchain.dev.openshift.com_exports.yaml
Original file line number Diff line number Diff line change
@@ -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: {}