File tree 1 file changed +13
-0
lines changed
components/server/src/workspace
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -867,6 +867,19 @@ export class WorkspaceStarter {
867
867
featureFlags = featureFlags . concat ( [ "protected_secrets" ] ) ;
868
868
}
869
869
870
+ if (
871
+ // ConfigCat already has feature flag named `persistent_volume_claim` that controls if we show
872
+ // the option to enable PVC for project prebuilds. So have to use a different name here.
873
+ await getExperimentsClientForBackend ( ) . getValueAsync ( "user_pvc" , false , {
874
+ user,
875
+ teams : userTeams ,
876
+ billingTier,
877
+ } )
878
+ ) {
879
+ // this allows to control user`s PVC feature flag via ConfigCat
880
+ featureFlags = featureFlags . concat ( [ "persistent_volume_claim" ] ) ;
881
+ }
882
+
870
883
featureFlags = featureFlags . filter ( ( f ) => ! excludeFeatureFlags . includes ( f ) ) ;
871
884
872
885
const wsConnectionLimitingEnabled = await getExperimentsClientForBackend ( ) . getValueAsync (
You can’t perform that action at this time.
0 commit comments