Cloud-Native Development Button Customization
About 275 wordsLess than 1 minute
Cloud-Native Development Button Customization explains how to change the launch button's name, hover image, and resource settings, and how to disable the default launch button.
When to use: when you want your project's development environment entry point to stand out, for example to give an open-source project its own launch text, adjust the default CPU core count, or disable the default button after switching to a custom pipeline.
Configuration
Add the workspace configuration to .cnb/settings.yml in the branch where the launch button is located:
.cnb/settings.yml
workspace:
launch:
button:
name: Launch Cloud-Native Development
description: Click this button to launch the cloud-native development environment
hoverImage: .cnb/launch-hover.gif
cpus: 4
disabled: false
autoOpenWebIDE: falseParameter Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
workspace.launch.button.name | string | - | The name of the launch button |
workspace.launch.button.description | string | - | Button description |
workspace.launch.button.hoverImage | string | - | Hover image (repo relative path or URL, ≤10MB) |
workspace.launch.cpus | number | 8 | CPU cores, only effective for the default template |
workspace.launch.disabled | boolean | false | Whether to disable the default launch button |
workspace.launch.autoOpenWebIDE | boolean | false | Whether to auto-open WebIDE after creation |
Notes:
description: Set tonullto hide the button description.hoverImage: Supports a repository relative path or a raw URL. The image is displayed when the user hovers over the launch button. Maximum file size is 10MB.autoOpenWebIDE: Once the cloud-native development environment is successfully created, the WebIDE opens automatically in the browser without additional user action.
Tips
All parameters are optional. Configure only what you need.