Skip to content

Commit

Permalink
[ws-manager] remove hack that was disabling PVC feature
Browse files Browse the repository at this point in the history
  • Loading branch information
sagor999 committed Aug 10, 2022
1 parent 6f8ed36 commit 7b2b9e9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions components/ws-manager/pkg/manager/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (

"github.com/gitpod-io/gitpod/common-go/kubernetes"
wsk8s "github.com/gitpod-io/gitpod/common-go/kubernetes"
"github.com/gitpod-io/gitpod/common-go/log"
"github.com/gitpod-io/gitpod/common-go/tracing"
"github.com/gitpod-io/gitpod/common-go/util"
csapi "github.com/gitpod-io/gitpod/content-service/api"
Expand Down Expand Up @@ -554,11 +553,6 @@ func (m *Manager) createDefiniteWorkspacePod(startContext *startWorkspaceContext
}
ffidx[feature] = struct{}{}

if feature == api.WorkspaceFeatureFlag_PERSISTENT_VOLUME_CLAIM {
log.WithField("request", startContext).Warn("Request with PVC enabled. Skipping feature.")
continue
}

switch feature {
case api.WorkspaceFeatureFlag_FULL_WORKSPACE_BACKUP:
removeVolume(&pod, workspaceVolumeName)
Expand Down

0 comments on commit 7b2b9e9

Please sign in to comment.