You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(app): add lifecycle parameter with CNB support
Add lifecycle parameter to app resource/datasource and diego_cnb feature flag.
Supports 'buildpack', 'docker', and 'cnb' with validation and tests.
BREAKING CHANGE: lifecycle changes force app recreation
Copy file name to clipboardExpand all lines: docs/resources/app.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ The following arguments are supported:
38
38
*`buildpacks` - (Optional, List) Multiple `buildpacks` used to stage the application. When both `buildpack` and `buildpacks` are set, `buildpacks` wins. There are multiple options to choose from:
39
39
* a Git URL (e.g. [https://github.com/cloudfoundry/java-buildpack.git](https://github.com/cloudfoundry/java-buildpack.git)) or a Git URL with a branch or tag (e.g. [https://github.com/cloudfoundry/java-buildpack.git#v3.3.0](https://github.com/cloudfoundry/java-buildpack.git#v3.3.0) for v3.3.0 tag)
40
40
* an installed admin buildpack name (e.g. my-buildpack)
41
+
*`lifecycle` - (Optional, String) The lifecycle type for the application. Valid values are `buildpack`, `docker`, and `cnb` (Cloud Native Buildpacks). If not specified, Cloud Foundry will automatically determine the lifecycle type based on the application configuration. **Note:** Changing this value will force the application to be deleted and recreated.
41
42
*`command` - (Optional, String) A custom start command for the application. This overrides the start command provided by the buildpack.
42
43
*`enable_ssh` - (Optional, Boolean) Whether to enable or disable SSH access to the container. Default is `true` unless disabled globally.
43
44
*`timeout` - (Optional, Number) Max wait time for app instance startup, in seconds. Defaults to 60 seconds.
@@ -55,6 +59,10 @@ The following arguments are supported:
55
59
*`env_var_visibility` - (Optional) All users can view environment variables. Minimum CC API version: 2.58.
56
60
*`space_scoped_private_broker_creation` - (Optional) Space Developers can create space-scoped private service brokers. Minimum CC API version: 2.58.
57
61
*`space_developer_env_var_visibility` - (Optional) Space Developers can view their v2 environment variables. Org Managers and Space Managers can view their v3 environment variables. Minimum CC API version: 2.58.
62
+
*`service_instance_sharing` - (Optional) Space Developers can share service instances between spaces.
63
+
*`hide_marketplace_from_unauthenticated_users` - (Optional) Marketplace is hidden from unauthenticated users.
64
+
*`resource_matching` - (Optional) Enable resource matching when pushing applications.
65
+
*`diego_cnb` - (Optional) Enable Cloud Native Buildpacks (CNB) support in Diego.
58
66
59
67
When not provided, optional fields are filled with their actual value in Cloud Foundry.
0 commit comments