Skip to content

Commit

Permalink
[skip ci] repo-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
loft-bot committed Sep 9, 2024
1 parent 360ca59 commit 4669f59
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 9 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.5
require (
github.com/ghodss/yaml v1.0.0
github.com/loft-sh/admin-apis v0.0.0-20240814093917-dc663916b354
github.com/loft-sh/agentapi/v4 v4.1.0-alpha.7
github.com/loft-sh/agentapi/v4 v4.1.0-alpha.9
github.com/loft-sh/apiserver v0.0.0-20240607231110-634aeeab2b36
k8s.io/api v0.30.4
k8s.io/apimachinery v0.30.4
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/loft-sh/admin-apis v0.0.0-20240814093917-dc663916b354 h1:aqT1UeosCYB+3DEzfxW0evhcYHxhoBVAEWtkXLXFimI=
github.com/loft-sh/admin-apis v0.0.0-20240814093917-dc663916b354/go.mod h1:MWczNwKvWssHo1KaeZKaWDdRLYSNbWqQBGsTLoCNd7U=
github.com/loft-sh/agentapi/v4 v4.1.0-alpha.7 h1:xxR57dfFOgtrj/OW2WrictOckMwKgnZGqSHuBotlK/8=
github.com/loft-sh/agentapi/v4 v4.1.0-alpha.7/go.mod h1:fj/fZ17NpJo63Bpx75eSx+ZmonfTWr52WgIZVwevc48=
github.com/loft-sh/agentapi/v4 v4.1.0-alpha.9 h1:85gV+bC6KedypeJ5MK175iPtT0m6ErSmS7qNlvep4jg=
github.com/loft-sh/agentapi/v4 v4.1.0-alpha.9/go.mod h1:fj/fZ17NpJo63Bpx75eSx+ZmonfTWr52WgIZVwevc48=
github.com/loft-sh/apiserver v0.0.0-20240607231110-634aeeab2b36 h1:1euJ7mNHMI2MMA+g+jEYYKtoMrHZTkUMapHnmjHb9lM=
github.com/loft-sh/apiserver v0.0.0-20240607231110-634aeeab2b36/go.mod h1:XxI95azXiqXHiIDRiyDTpZcxdtXQlUqeU5VMMDz8INA=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
Expand Down
10 changes: 10 additions & 0 deletions pkg/apis/storage/v1/devpodworkspacetemplate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,16 @@ type DevPodWorkspaceTemplateDefinition struct {
// +optional
SpaceTemplate *SpaceTemplateDefinition `json:"spaceTemplate,omitempty"`

// VirtualClusterTemplateRef is a reference to the virtual cluster that should get created for this DevPod.
// If this is specified, the kubernetes provider will be selected automatically.
// +optional
VirtualClusterTemplateRef *TemplateRef `json:"virtualClusterTemplateRef,omitempty"`

// VirtualClusterTemplate is the inline template for a virtual cluster that should get created for this DevPod.
// If this is specified, the kubernetes provider will be selected automatically.
// +optional
VirtualClusterTemplate *VirtualClusterTemplateDefinition `json:"virtualClusterTemplate,omitempty"`

// WorkspaceEnv are environment variables that should be available within the created workspace.
// +optional
WorkspaceEnv map[string]DevPodProviderOption `json:"workspaceEnv,omitempty"`
Expand Down
10 changes: 10 additions & 0 deletions pkg/apis/storage/v1/zz_generated.deepcopy.go

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

33 changes: 27 additions & 6 deletions pkg/openapi/zz_generated.openapi.go

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

0 comments on commit 4669f59

Please sign in to comment.