Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 96a25ca

Browse files
committed
workmachine updated
1 parent 79b058b commit 96a25ca

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

cmd/agent-operator/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55

66
// helmCharts "github.com/kloudlite/operator/operators/helm-charts/controller"
77
lifecycle "github.com/kloudlite/operator/operators/lifecycle/controller"
8+
workspace "github.com/kloudlite/operator/operators/workspace/register"
89

910
// routers "github.com/kloudlite/operator/operators/routers/controller"
1011

@@ -39,6 +40,7 @@ func main() {
3940

4041
// serviceIntercept.RegisterInto(mgr)
4142
workmachine.RegisterInto(mgr)
43+
workspace.RegisterInto(mgr)
4244
// workmachine.RegisterInto(mgr)
4345

4446
// pluginMongoDB.RegisterInto(mgr)

operators/workspace/internal/controllers/workspace/controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ func (r *Reconciler) createDeployment(req *rApi.Request[*crdsv1.Workspace]) step
160160

161161
EnableVSCodeServer: obj.Spec.EnableVSCodeServer,
162162
ImageVscodeServer: r.Env.WorkspcaeImageVscodeServer,
163+
PortConfig: PortConfig,
163164

164165
ImagePullPolicy: obj.Spec.ImagePullPolicy,
165166
KloudliteDeviceFQDN: fmt.Sprintf("%s-headless.%s.svc.cluster.local", obj.Name, obj.Namespace),

0 commit comments

Comments
 (0)