diff --git a/operator/internal/webhook/auto/v1alpha1/workspace_webhook.go b/operator/internal/webhook/auto/v1alpha1/workspace_webhook.go index 593268b8..7b66becc 100644 --- a/operator/internal/webhook/auto/v1alpha1/workspace_webhook.go +++ b/operator/internal/webhook/auto/v1alpha1/workspace_webhook.go @@ -70,7 +70,6 @@ func (d *WorkspaceCustomDefaulter) Default(ctx context.Context, obj runtime.Obje switch w.Spec.SecurityProfile { case autov1alpha1.SecurityProfileRestricted: w.Spec.Image = SecurityProfileRestrictedDefaultImage - default: case autov1alpha1.SecurityProfileBaseline: w.Spec.Image = SecurityProfileBaselineDefaultImage }