Codesphere Feature Flags
Codesphere supports a set of feature flags that allow administrators to enable or disable specific features for their Codesphere installation. These flags are configured in the features section of the codesphere block in your config.yaml file.
Below is a table summarizing the available feature flags, their functions, and the default value in a Codesphere Private Cloud installation:
| Feature Flag | Description | Default (Private Cloud) |
|---|---|---|
| email-signup | Enables or disables the ability for users to sign up using email. | false |
| email-signin | Enables or disables the ability for users to sign in using email. | false |
| billing | Enables or disables billing features for workspace and hosting plans. | false |
| experiments | Allows enabling experimental features for testing and feedback. | ['hermetic'] (none enabled) |
How to Use Feature Flags
To enable or disable a feature, add or update the features section in your config.yaml under the codesphere block. For example:
codesphere:
# ... other settings ...
features:
email-signup: true
email-signin: false
billing: true
experiments: [] # List experimental features to enable
- Set the value to
trueto enable a feature, orfalseto disable it. - The
experimentsflag accepts a list of experimental feature names.
Note: Only documented and supported feature flags should be used in production environments. Experimental features may change or be removed in future releases.
Additional Information
For more details on configuring Codesphere, refer to the main installation guide or contact Codesphere support.