{
  "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.",
  "properties": {
    "driver": {
      "description": "driver is the name of the driver to use for this volume.",
      "type": [
        "string",
        "null"
      ]
    },
    "fsType": {
      "description": "fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.",
      "type": [
        "string",
        "null"
      ]
    },
    "options": {
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "options is Optional: this field holds extra command options if any.",
      "type": [
        "object",
        "null"
      ]
    },
    "readOnly": {
      "description": "readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "secretRef": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.LocalObjectReference",
      "description": "secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts."
    }
  },
  "required": [
    "driver"
  ],
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "$id": "https://kubernetes.io/api/flexvolumesource/v1"
}