Skip to main content
Version: Weekly Build

Codesphere Feature Flags

Codesphere organizes flags into two maturity levels, each configured differently in your config.yaml:

BucketConfig KeyPurpose
Featurescodesphere.featuresLong-lived, stable capabilities that can be toggled per installation
Previewcodesphere.experimentsLess mature or riskier opt-in features; stable API not yet guaranteed

warning

Preview flags may change or be removed in future releases. Use with care in production environments.

Feature Flags

Feature flags control long-lived, stable capabilities of your Codesphere installation. Configure them under codesphere.features as a map of boolean values.

FlagDescriptionDefault (Private Cloud)
billingEnables billing features for workspace and hosting plans.false
avatar-uploadAllows users to upload a custom profile avatar. Requires GCloud Storagefalse
dev-domains-portEnables port-based routing for development domains.false
email-signupAllows users to register with an email address.false
email-signinAllows users to sign in with an email address.false
run-as-root-insecureAllows workspaces to run as root. Security risk — only use in trusted environments.false
standalone-teamsAllows teams to exist outside of an organization. When disabled, every team must belong to an organization. See Organizations & Teams for more context.false

Example:

codesphere:
features:
email-signup: true
email-signin: true
billing: false
standalone-teams: false

Preview Flags

Preview flags enable less mature or riskier customer-facing features. They are opt-in and require explicit enablement. For now, preview flags can be set via the experiments config as a list of flag names to enable.

FlagDescription
privileged-portsAllows workspaces to listen on privileged ports in the range [0..1024).
secret-managementEnables the secret management feature for workspaces.
sub-path-mountEnables sub-path volume mounting in workspaces.
tcp-udpEnables TCP/UDP port exposure for workspaces beyond standard HTTP/HTTPS.
ws-vscode-serverEnables VS Code Server integration inside workspaces.

Example:

codesphere:
# Preview flags are enabled by adding them to the experiments list.
experiments:
- privileged-ports
- ws-vscode-server

Full Example

The following shows all three flag buckets configured together:

codesphere:
# ... other settings ...

# Long-lived feature flags
features:
email-signup: true
email-signin: true
billing: false
standalone-teams: false

# Preview flags — add flag names to enable them
# Use with care!
experiments:
- privileged-ports