Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CRD Definition #433

Merged
merged 3 commits into from
Sep 5, 2019
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ spec:
scope: Namespaced
validation:
openAPIV3Schema:
type: object
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand Down Expand Up @@ -45,6 +46,7 @@ spec:
type: string
volumeClaimName:
description: The name of the volume claim.
type: string
type: object
required:
- mountPath
Expand All @@ -69,6 +71,8 @@ spec:
description: The Events recorded by scheduler; the controller takes
actions according to this Events.
type: array
items:
type: string
timeout:
description: Timeout is the grace period for controller to take
actions. Default to nil (take action immediately).
Expand All @@ -81,8 +85,6 @@ spec:
plugins:
description: Enabled task plugins when creating job.
type: object
additionalProperties:
type: array
tasks:
description: Tasks specifies the task specification of Job
items:
Expand All @@ -107,6 +109,8 @@ spec:
description: The Events recorded by scheduler; the controller takes
actions according to this Events.
type: array
items:
type: string
timeout:
description: Timeout is the grace period for controller
to take actions. Default to nil (take action immediately).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spec:
scope: Namespaced
validation:
openAPIV3Schema:
type: object
properties:
action:
description: Action defines the action that will be took to the target object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ spec:
scope: Namespaced
validation:
openAPIV3Schema:
type: object
properties:
apiVersion:
type: string
Expand All @@ -37,5 +38,4 @@ spec:
format: int32
type: integer
type: object
type: object
version: v1alpha1
11 changes: 8 additions & 3 deletions installer/volcano-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ spec:
scope: Namespaced
validation:
openAPIV3Schema:
type: object
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
Expand Down Expand Up @@ -417,6 +418,7 @@ spec:
type: string
volumeClaimName:
description: The name of the volume claim.
type: string
type: object
required:
- mountPath
Expand All @@ -441,6 +443,8 @@ spec:
description: The Events recorded by scheduler; the controller takes
actions according to this Events.
type: array
items:
type: string
timeout:
description: Timeout is the grace period for controller to take
actions. Default to nil (take action immediately).
Expand All @@ -453,8 +457,6 @@ spec:
plugins:
description: Enabled task plugins when creating job.
type: object
additionalProperties:
type: array
tasks:
description: Tasks specifies the task specification of Job
items:
Expand All @@ -479,6 +481,8 @@ spec:
description: The Events recorded by scheduler; the controller takes
actions according to this Events.
type: array
items:
type: string
timeout:
description: Timeout is the grace period for controller
to take actions. Default to nil (take action immediately).
Expand Down Expand Up @@ -582,6 +586,7 @@ spec:
scope: Namespaced
validation:
openAPIV3Schema:
type: object
properties:
action:
description: Action defines the action that will be took to the target object.
Expand Down Expand Up @@ -631,6 +636,7 @@ spec:
scope: Namespaced
validation:
openAPIV3Schema:
type: object
properties:
apiVersion:
type: string
Expand All @@ -656,7 +662,6 @@ spec:
format: int32
type: integer
type: object
type: object
version: v1alpha1

---
Expand Down