Skip to content

Commit

Permalink
Remove unneaded create forklift CRDs lint from CI script
Browse files Browse the repository at this point in the history
Signed-off-by: yaacov <[email protected]>
  • Loading branch information
yaacov committed Jul 31, 2023
1 parent 379b786 commit 7bebca9
Show file tree
Hide file tree
Showing 9 changed files with 175 additions and 5 deletions.
1 change: 0 additions & 1 deletion ci/deploy-console.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ echo ""
echo "deploy console CRDs"

kubectl apply -f ${script_dir}/yaml/crds/console
kubectl apply -f ${script_dir}/yaml/crds/forklift

echo ""
echo "deploy OKD console"
Expand Down
3 changes: 3 additions & 0 deletions ci/yaml/crds/forklift/forklift.konveyor.io_hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ spec:
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:
Expand Down
8 changes: 8 additions & 0 deletions ci/yaml/crds/forklift/forklift.konveyor.io_migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ spec:
name:
description: 'An object Name. vsphere: A qualified name.'
type: string
namespace:
description: The VM Namespace Only relevant for an openshift
source.
type: string
type:
description: Type used to qualify the name.
type: string
Expand Down Expand Up @@ -285,6 +289,10 @@ spec:
name:
description: 'An object Name. vsphere: A qualified name.'
type: string
namespace:
description: The VM Namespace Only relevant for an openshift
source.
type: string
phase:
description: Phase
type: string
Expand Down
8 changes: 8 additions & 0 deletions ci/yaml/crds/forklift/forklift.konveyor.io_networkmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ spec:
name:
description: 'An object Name. vsphere: A qualified name.'
type: string
namespace:
description: The VM Namespace Only relevant for an openshift
source.
type: string
type:
description: Type used to qualify the name.
type: string
Expand Down Expand Up @@ -224,6 +228,10 @@ spec:
name:
description: 'An object Name. vsphere: A qualified name.'
type: string
namespace:
description: The VM Namespace Only relevant for an openshift
source.
type: string
type:
description: Type used to qualify the name.
type: string
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
name: openstackvolumepopulators.forklift.konveyor.io
spec:
group: forklift.konveyor.io
names:
kind: OpenstackVolumePopulator
listKind: OpenstackVolumePopulatorList
plural: openstackvolumepopulators
shortNames:
- osvp
- osvps
singular: openstackvolumepopulator
scope: Namespaced
versions:
- 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:
properties:
identityUrl:
type: string
imageId:
type: string
secretName:
type: string
transferNetwork:
description: The network attachment definition that should be used
for disk transfer.
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
required:
- identityUrl
- imageId
- secretName
type: object
status:
properties:
transferred:
type: string
type: object
required:
- spec
type: object
served: true
storage: true
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ spec:
kind: OvirtVolumePopulator
listKind: OvirtVolumePopulatorList
plural: ovirtvolumepopulators
shortNames:
- ovvp
- ovvps
singular: ovirtvolumepopulator
scope: Namespaced
versions:
Expand Down Expand Up @@ -39,6 +42,44 @@ spec:
type: string
engineUrl:
type: string
transferNetwork:
description: The network attachment definition that should be used
for disk transfer.
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
required:
- diskId
- engineSecretName
Expand All @@ -48,12 +89,9 @@ spec:
properties:
progress:
type: string
required:
- progress
type: object
required:
- spec
- status
type: object
served: true
storage: true
8 changes: 8 additions & 0 deletions ci/yaml/crds/forklift/forklift.konveyor.io_plans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ spec:
name:
description: 'An object Name. vsphere: A qualified name.'
type: string
namespace:
description: The VM Namespace Only relevant for an openshift
source.
type: string
type:
description: Type used to qualify the name.
type: string
Expand Down Expand Up @@ -721,6 +725,10 @@ spec:
name:
description: 'An object Name. vsphere: A qualified name.'
type: string
namespace:
description: The VM Namespace Only relevant for an openshift
source.
type: string
phase:
description: Phase
type: string
Expand Down
8 changes: 8 additions & 0 deletions ci/yaml/crds/forklift/forklift.konveyor.io_storagemaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ spec:
name:
description: 'An object Name. vsphere: A qualified name.'
type: string
namespace:
description: The VM Namespace Only relevant for an openshift
source.
type: string
type:
description: Type used to qualify the name.
type: string
Expand Down Expand Up @@ -228,6 +232,10 @@ spec:
name:
description: 'An object Name. vsphere: A qualified name.'
type: string
namespace:
description: The VM Namespace Only relevant for an openshift
source.
type: string
type:
description: Type used to qualify the name.
type: string
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
"cluster:delete": "bash ./ci/clean-cluster.sh",
"e2e:cluster": "bash ./ci/deploy-cluster.sh",
"e2e:build": "bash ./ci/build-and-push-images.sh",
"e2e:deployCrds": "kubectl apply -f ./ci/yaml/crds/forklift",
"e2e:console": "bash ./ci/deploy-console.sh",
"e2e:pre-test": "npm run e2e:cluster && npm run e2e:build && npm run e2e:console",
"e2e:pre-test": "npm run e2e:cluster && npm run e2e:build && npm run e2e:deployCrds && npm run e2e:console",
"storybook": "npm run storybook -w @kubev2v/common -- dev -p 6006",
"storybook:build": "npm run storybook -w @kubev2v/common -- build"
},
Expand Down

0 comments on commit 7bebca9

Please sign in to comment.