Skip to content

Commit

Permalink
chore: regenerate CRD YAML and client code
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
  • Loading branch information
stevekuznetsov committed Nov 22, 2021
1 parent 1310d59 commit f0d7bca
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 37 deletions.
87 changes: 54 additions & 33 deletions config/tenancy.kcp.dev_workspaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@ spec:
properties:
readOnly:
type: boolean
shard:
description: Name of the WorkspaceShard this Workspace lives on.
minLength: 1
type: string
targetShard:
description: Name of the WorkspaceShard this Workspace should move
to.
type: string
required:
- shard
type: object
status:
description: WorkspaceStatus communicates the observed state of the Workspace.
Expand All @@ -60,36 +50,67 @@ spec:
name>. But a workspace could also be targetable by a unique hostname
in the future.'
type: string
phase:
description: Phase of the workspace (Initializing / Active / Terminating)
type: string
shards:
description: List of shards related to this workspace. The first shard
in this list with LiveAfterResourceVersion is set is the active
shard
conditions:
items:
description: ShardStatus contains details for the current status
of a workspace shard.
description: WorkspaceCondition represents workspace's condition
properties:
liveAfterResourceVersion:
description: Resource version after which writes can be accepted
on this shard.
lastProbeTime:
format: date-time
type: string
liveBeforeResourceVersion:
description: Resource version at which writes to this shard
should not be accepted.
lastTransitionTime:
format: date-time
type: string
name:
description: Name of an active WorkspaceShard.
minLength: 1
message:
type: string
reason:
type: string
status:
type: string
type:
description: WorkspaceConditionType defines the condition of
the workspace
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
location:
description: Contains workspace placement information.
properties:
current:
description: Current workspace placement (shard).
type: string
history:
description: Historical placement details (including current and
target).
items:
description: ShardStatus contains details for the current status
of a workspace shard.
properties:
liveAfterResourceVersion:
description: Resource version after which writes can be
accepted on this shard.
type: string
liveBeforeResourceVersion:
description: Resource version at which writes to this shard
should not be accepted.
type: string
name:
description: Name of an active WorkspaceShard.
minLength: 1
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
target:
description: Target workspace placement (shard).
type: string
type: object
phase:
description: Phase of the workspace (Initializing / Active / Terminating)
type: string
required:
- baseURL
type: object
Expand Down
50 changes: 46 additions & 4 deletions pkg/apis/tenancy/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f0d7bca

Please sign in to comment.