{
  "description": "FlexPersistentVolumeSource represents a generic persistent 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": {
      "description": "SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace",
      "properties": {
        "name": {
          "description": "name is unique within a namespace to reference a secret resource.",
          "type": [
            "string",
            "null"
          ]
        },
        "namespace": {
          "description": "namespace defines the space within which the secret name must be unique.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ],
      "x-kubernetes-map-type": "atomic",
      "additionalProperties": false
    }
  },
  "required": [
    "driver"
  ],
  "type": "object",
  "additionalProperties": false,
  "$schema": "http://json-schema.org/schema#"
}