Skip to content

Commit

Permalink
Update CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Nov 14, 2023
1 parent a7dd074 commit 3cf1adb
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/ws-manager-api/go/crd/v1/workspace_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ type TimeoutSpec struct {
// SSHKey temporal generated SSH key required to access the workspace
type SSHKey struct {
// +kubebuilder:validation:Required
Public string `json:"public"`
Public string `json:"publicKey"`
// +kubebuilder:validation:Required
Private string `json:"private"`
Private string `json:"privateKey"`
}

type AdmissionSpec struct {
Expand Down
20 changes: 20 additions & 0 deletions components/ws-manager-api/go/crd/v1/zz_generated.deepcopy.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,18 @@ spec:
type: object
minItems: 0
type: array
ssh:
description: SSHKey temporal generated SSH key required to access
the workspace
properties:
privateKey:
type: string
publicKey:
type: string
required:
- privateKey
- publicKey
type: object
sshPublicKeys:
items:
type: string
Expand Down Expand Up @@ -557,6 +569,19 @@ spec:
prior to shutting the workspace down. This condition is only used
for headless workspaces.
type: string
storage:
properties:
attachedDevice:
type: string
mountPath:
type: string
volumeName:
type: string
required:
- attachedDevice
- mountPath
- volumeName
type: object
url:
type: string
required:
Expand Down

0 comments on commit 3cf1adb

Please sign in to comment.