Merge branch 'feature/pools' into testing
This commit is contained in:
commit
50ad911265
34 changed files with 1566 additions and 453 deletions
|
|
@ -16,6 +16,15 @@ spec:
|
|||
spec:
|
||||
type: object
|
||||
properties:
|
||||
retention:
|
||||
description: >-
|
||||
Defines the timeout for assignments. The time may be
|
||||
specified as ISO 8601 time or duration. When specifying
|
||||
a duration, it will be added to the last time the VM's
|
||||
console was used to obtain the timeout.
|
||||
type: string
|
||||
pattern: '^(?:\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d{1,9})?(?:Z|[+-](?:[01]\d|2[0-3])(?:|:?[0-5]\d))|P(?:\d+Y)?(?:\d+M)?(?:\d+W)?(?:\d+D)?(?:T(?:\d+[Hh])?(?:\d+[Mm])?(?:\d+(?:\.\d{1,9})?[Ss])?)?)$'
|
||||
default: "PT1h"
|
||||
permissions:
|
||||
type: array
|
||||
description: >-
|
||||
|
|
@ -44,7 +53,7 @@ spec:
|
|||
- reset
|
||||
- accessConsole
|
||||
- "*"
|
||||
default: []
|
||||
default: ["accessConsole"]
|
||||
required:
|
||||
- permissions
|
||||
# either Namespaced or Cluster
|
||||
|
|
|
|||
|
|
@ -994,6 +994,10 @@ spec:
|
|||
type: array
|
||||
description: >-
|
||||
Defines permissions for accessing and manipulating the VM.
|
||||
The meaning of most permissions should be obvious. The
|
||||
difference between "accessConsole" and "takeConsole" is
|
||||
that "takeConsole" allows the user to take control of
|
||||
the console even if it is already in use by another user.
|
||||
items:
|
||||
type: object
|
||||
description: >-
|
||||
|
|
@ -1017,12 +1021,13 @@ spec:
|
|||
- stop
|
||||
- reset
|
||||
- accessConsole
|
||||
- takeConsole
|
||||
- "*"
|
||||
default: []
|
||||
pools:
|
||||
type: array
|
||||
description: >-
|
||||
List of pools to which this VM belongs.
|
||||
List of pools this VM belongs to.
|
||||
items:
|
||||
type: string
|
||||
default: []
|
||||
|
|
@ -1486,6 +1491,24 @@ spec:
|
|||
by the runner if password protection is not enabled.
|
||||
type: integer
|
||||
default: 0
|
||||
assignment:
|
||||
description: >-
|
||||
The assignment of this VM to a a particular user.
|
||||
type: object
|
||||
properties:
|
||||
pool:
|
||||
description: >-
|
||||
The pool this VM is taken from.
|
||||
type: string
|
||||
user:
|
||||
description: >-
|
||||
The user this VM is assigned to.
|
||||
type: string
|
||||
lastUsed:
|
||||
description: >-
|
||||
The last time this VM was used by the user.
|
||||
type: string
|
||||
default: {}
|
||||
conditions:
|
||||
description: >-
|
||||
List of component conditions observed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue