📘

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

NameTypeRequiredDescription
typestringtrue+value=volume
namestringtrueName of the Volume. This will be set as the volume name.
storage_classstringtrue+label=Storage Class
+sort=2
sizeintegertrueSize of volume in Gi
volume_browserVolumeBrowserfalseConfiguration for Volume Browser

VolumeBrowser

Description

Configuration for Volume Browser

Schema

{
  "username": "string",
  "password_secret_fqn": "string",
  "endpoint": {
    "host": "string",
    "path": "string"
  }
}

Properties

NameTypeRequiredDescription
usernamestringtrueUsername for logging in the volume browser.
password_secret_fqnstringtrueTFY Secret containing the password for logging in the volume browser.
endpointEndpointtrueDescribes an endpoint configuration