Skip to content

Commit

Permalink
add kubev2v/forklift
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Feb 11, 2024
1 parent e60c35c commit 94a33a8
Show file tree
Hide file tree
Showing 27 changed files with 4,130 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,10 @@ Files: crd-catalog/kubeshop/testkube-operator/*
Copyright: The kubeshop/testkube-operator Authors
License: MIT

Files: crd-catalog/kubev2v/forklift/*
Copyright: The kubev2v/forklift Authors
License: Apache-2.0

Files: crd-catalog/kubevious/workload-operator/*
Copyright: The kubevious/workload-operator Authors
License: Apache-2.0
Expand Down
16 changes: 16 additions & 0 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1652,6 +1652,22 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/kubeshop/testkube-operator/blob/develop/config/crd/bases/tests.testkube.io_testtriggers.yaml",
],
},
UpstreamSource {
project_name: "kubev2v/forklift",
license: APACHE_V2,
urls: &[
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_forkliftcontrollers.yaml",
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_hooks.yaml",
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_hosts.yaml",
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_migrations.yaml",
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_networkmaps.yaml",
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_openstackvolumepopulators.yaml",
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_ovirtvolumepopulators.yaml",
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_plans.yaml",
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_providers.yaml",
"https://github.com/kubev2v/forklift/blob/main/operator/config/crd/bases/forklift.konveyor.io_storagemaps.yaml",
],
},
UpstreamSource {
project_name: "kubevious/workload-operator",
license: APACHE_V2,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
name: "forkliftcontrollers.forklift.konveyor.io"
spec:
group: "forklift.konveyor.io"
names:
kind: "ForkliftController"
listKind: "ForkliftControllerList"
plural: "forkliftcontrollers"
singular: "forkliftcontroller"
scope: "Namespaced"
versions:
- name: "v1beta1"
schema:
openAPIV3Schema:
description: "ForkliftController is the Schema for the forkliftcontrollers 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:
description: "Spec defines the desired state of ForkliftController"
type: "object"
x-kubernetes-preserve-unknown-fields: true
status:
description: "Status defines the observed state of ForkliftController"
type: "object"
x-kubernetes-preserve-unknown-fields: true
type: "object"
served: true
storage: true
subresources:
status: {}
109 changes: 109 additions & 0 deletions crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
annotations:
controller-gen.kubebuilder.io/version: "v0.10.0"
name: "hooks.forklift.konveyor.io"
spec:
group: "forklift.konveyor.io"
names:
kind: "Hook"
listKind: "HookList"
plural: "hooks"
singular: "hook"
scope: "Namespaced"
versions:
- additionalPrinterColumns:
- jsonPath: ".status.conditions[?(@.type=='Ready')].status"
name: "Ready"
type: "string"
- jsonPath: ".spec.image"
name: "Image"
type: "string"
- jsonPath: ".metadata.creationTimestamp"
name: "Age"
type: "date"
name: "v1beta1"
schema:
openAPIV3Schema:
description: "Hook is the Schema for the hooks 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:
description: "Hook specification."
properties:
deadline:
description: "Hook deadline in seconds."
format: "int64"
type: "integer"
image:
description: "Image to run."
type: "string"
playbook:
description: "A base64 encoded Ansible playbook."
type: "string"
serviceAccount:
description: "Service account."
type: "string"
required:
- "image"
type: "object"
status:
description: "Hook status."
properties:
conditions:
description: "List of conditions."
items:
description: "Condition"
properties:
category:
description: "The condition category."
type: "string"
durable:
description: "The condition is durable - never un-staged."
type: "boolean"
items:
description: "A list of items referenced in the `Message`."
items:
type: "string"
type: "array"
lastTransitionTime:
description: "When the last status transition occurred."
format: "date-time"
type: "string"
message:
description: "The human readable description of the condition."
type: "string"
reason:
description: "The reason for the condition or transition."
type: "string"
status:
description: "The condition status [true,false]."
type: "string"
type:
description: "The condition type."
type: "string"
required:
- "category"
- "lastTransitionTime"
- "status"
- "type"
type: "object"
type: "array"
observedGeneration:
description: "The most recent generation observed by the controller."
format: "int64"
type: "integer"
type: "object"
type: "object"
served: true
storage: true
subresources:
status: {}
167 changes: 167 additions & 0 deletions crd-catalog/kubev2v/forklift/forklift.konveyor.io/v1beta1/hosts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
annotations:
controller-gen.kubebuilder.io/version: "v0.10.0"
name: "hosts.forklift.konveyor.io"
spec:
group: "forklift.konveyor.io"
names:
kind: "Host"
listKind: "HostList"
plural: "hosts"
singular: "host"
scope: "Namespaced"
versions:
- additionalPrinterColumns:
- jsonPath: ".status.conditions[?(@.type=='Ready')].status"
name: "READY"
type: "string"
- jsonPath: ".status.conditions[?(@.type=='ConnectionTestSucceeded')].status"
name: "CONNECTED"
type: "string"
- jsonPath: ".metadata.creationTimestamp"
name: "AGE"
type: "date"
name: "v1beta1"
schema:
openAPIV3Schema:
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:
description: "HostSpec defines the desired state of Host"
properties:
id:
description: "The object ID. vsphere: The managed object ID."
type: "string"
ipAddress:
description: "IP address used for disk transfer."
type: "string"
name:
description: "An object Name. vsphere: A qualified name."
type: "string"
namespace:
description: "The VM Namespace Only relevant for an openshift source."
type: "string"
provider:
description: "Provider"
properties:
apiVersion:
description: "API version of the referent."
type: "string"
fieldPath:
description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future."
type: "string"
kind:
description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: "string"
name:
description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: "string"
namespace:
description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
type: "string"
resourceVersion:
description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
type: "string"
uid:
description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"
type: "string"
type: "object"
x-kubernetes-map-type: "atomic"
secret:
description: "Credentials."
properties:
apiVersion:
description: "API version of the referent."
type: "string"
fieldPath:
description: "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future."
type: "string"
kind:
description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: "string"
name:
description: "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
type: "string"
namespace:
description: "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
type: "string"
resourceVersion:
description: "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
type: "string"
uid:
description: "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"
type: "string"
type: "object"
x-kubernetes-map-type: "atomic"
thumbprint:
description: "Certificate SHA-1 fingerprint, called thumbprint by VMware."
type: "string"
type:
description: "Type used to qualify the name."
type: "string"
required:
- "ipAddress"
- "provider"
- "secret"
type: "object"
status:
description: "HostStatus defines the observed state of Host"
properties:
conditions:
description: "List of conditions."
items:
description: "Condition"
properties:
category:
description: "The condition category."
type: "string"
durable:
description: "The condition is durable - never un-staged."
type: "boolean"
items:
description: "A list of items referenced in the `Message`."
items:
type: "string"
type: "array"
lastTransitionTime:
description: "When the last status transition occurred."
format: "date-time"
type: "string"
message:
description: "The human readable description of the condition."
type: "string"
reason:
description: "The reason for the condition or transition."
type: "string"
status:
description: "The condition status [true,false]."
type: "string"
type:
description: "The condition type."
type: "string"
required:
- "category"
- "lastTransitionTime"
- "status"
- "type"
type: "object"
type: "array"
observedGeneration:
description: "The most recent generation observed by the controller."
format: "int64"
type: "integer"
type: "object"
type: "object"
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 94a33a8

Please sign in to comment.