Volume
Note
While using TrueFoundry python SDK
type
is not a required field in any of the imported classes
Volume
Description
Configuration for Volume
Schema
{
"type": "string",
"name": "string",
"storage_class": "string",
"size": 1,
"volume_browser": {
"username": "string",
"password_secret_fqn": "string",
"endpoint": {
"host": "string",
"path": "string"
}
}
}
Properties
Name | Type | Required | Description |
---|---|---|---|
type | string | true | +value=volume |
name | string | true | Name of the Volume. This will be set as the volume name. |
storage_class | string | true | +label=Storage Class +sort=2 |
size | integer | true | Size of volume in Gi |
volume_browser | VolumeBrowser | false | Configuration for Volume Browser |
VolumeBrowser
Description
Configuration for Volume Browser
Schema
{
"username": "string",
"password_secret_fqn": "string",
"endpoint": {
"host": "string",
"path": "string"
}
}
Properties
Name | Type | Required | Description |
---|---|---|---|
username | string | true | Username for logging in the volume browser. |
password_secret_fqn | string | true | TFY Secret containing the password for logging in the volume browser. |
endpoint | Endpoint | true | Describes an endpoint configuration |
Updated 8 months ago