...

Text file src/k8s.io/api/testdata/HEAD/core.v1.PersistentVolume.json

Documentation: k8s.io/api/testdata/HEAD

     1{
     2  "kind": "PersistentVolume",
     3  "apiVersion": "v1",
     4  "metadata": {
     5    "name": "nameValue",
     6    "generateName": "generateNameValue",
     7    "namespace": "namespaceValue",
     8    "selfLink": "selfLinkValue",
     9    "uid": "uidValue",
    10    "resourceVersion": "resourceVersionValue",
    11    "generation": 7,
    12    "creationTimestamp": "2008-01-01T01:01:01Z",
    13    "deletionTimestamp": "2009-01-01T01:01:01Z",
    14    "deletionGracePeriodSeconds": 10,
    15    "labels": {
    16      "labelsKey": "labelsValue"
    17    },
    18    "annotations": {
    19      "annotationsKey": "annotationsValue"
    20    },
    21    "ownerReferences": [
    22      {
    23        "apiVersion": "apiVersionValue",
    24        "kind": "kindValue",
    25        "name": "nameValue",
    26        "uid": "uidValue",
    27        "controller": true,
    28        "blockOwnerDeletion": true
    29      }
    30    ],
    31    "finalizers": [
    32      "finalizersValue"
    33    ],
    34    "managedFields": [
    35      {
    36        "manager": "managerValue",
    37        "operation": "operationValue",
    38        "apiVersion": "apiVersionValue",
    39        "time": "2004-01-01T01:01:01Z",
    40        "fieldsType": "fieldsTypeValue",
    41        "fieldsV1": {},
    42        "subresource": "subresourceValue"
    43      }
    44    ]
    45  },
    46  "spec": {
    47    "capacity": {
    48      "capacityKey": "0"
    49    },
    50    "gcePersistentDisk": {
    51      "pdName": "pdNameValue",
    52      "fsType": "fsTypeValue",
    53      "partition": 3,
    54      "readOnly": true
    55    },
    56    "awsElasticBlockStore": {
    57      "volumeID": "volumeIDValue",
    58      "fsType": "fsTypeValue",
    59      "partition": 3,
    60      "readOnly": true
    61    },
    62    "hostPath": {
    63      "path": "pathValue",
    64      "type": "typeValue"
    65    },
    66    "glusterfs": {
    67      "endpoints": "endpointsValue",
    68      "path": "pathValue",
    69      "readOnly": true,
    70      "endpointsNamespace": "endpointsNamespaceValue"
    71    },
    72    "nfs": {
    73      "server": "serverValue",
    74      "path": "pathValue",
    75      "readOnly": true
    76    },
    77    "rbd": {
    78      "monitors": [
    79        "monitorsValue"
    80      ],
    81      "image": "imageValue",
    82      "fsType": "fsTypeValue",
    83      "pool": "poolValue",
    84      "user": "userValue",
    85      "keyring": "keyringValue",
    86      "secretRef": {
    87        "name": "nameValue",
    88        "namespace": "namespaceValue"
    89      },
    90      "readOnly": true
    91    },
    92    "iscsi": {
    93      "targetPortal": "targetPortalValue",
    94      "iqn": "iqnValue",
    95      "lun": 3,
    96      "iscsiInterface": "iscsiInterfaceValue",
    97      "fsType": "fsTypeValue",
    98      "readOnly": true,
    99      "portals": [
   100        "portalsValue"
   101      ],
   102      "chapAuthDiscovery": true,
   103      "chapAuthSession": true,
   104      "secretRef": {
   105        "name": "nameValue",
   106        "namespace": "namespaceValue"
   107      },
   108      "initiatorName": "initiatorNameValue"
   109    },
   110    "cinder": {
   111      "volumeID": "volumeIDValue",
   112      "fsType": "fsTypeValue",
   113      "readOnly": true,
   114      "secretRef": {
   115        "name": "nameValue",
   116        "namespace": "namespaceValue"
   117      }
   118    },
   119    "cephfs": {
   120      "monitors": [
   121        "monitorsValue"
   122      ],
   123      "path": "pathValue",
   124      "user": "userValue",
   125      "secretFile": "secretFileValue",
   126      "secretRef": {
   127        "name": "nameValue",
   128        "namespace": "namespaceValue"
   129      },
   130      "readOnly": true
   131    },
   132    "fc": {
   133      "targetWWNs": [
   134        "targetWWNsValue"
   135      ],
   136      "lun": 2,
   137      "fsType": "fsTypeValue",
   138      "readOnly": true,
   139      "wwids": [
   140        "wwidsValue"
   141      ]
   142    },
   143    "flocker": {
   144      "datasetName": "datasetNameValue",
   145      "datasetUUID": "datasetUUIDValue"
   146    },
   147    "flexVolume": {
   148      "driver": "driverValue",
   149      "fsType": "fsTypeValue",
   150      "secretRef": {
   151        "name": "nameValue",
   152        "namespace": "namespaceValue"
   153      },
   154      "readOnly": true,
   155      "options": {
   156        "optionsKey": "optionsValue"
   157      }
   158    },
   159    "azureFile": {
   160      "secretName": "secretNameValue",
   161      "shareName": "shareNameValue",
   162      "readOnly": true,
   163      "secretNamespace": "secretNamespaceValue"
   164    },
   165    "vsphereVolume": {
   166      "volumePath": "volumePathValue",
   167      "fsType": "fsTypeValue",
   168      "storagePolicyName": "storagePolicyNameValue",
   169      "storagePolicyID": "storagePolicyIDValue"
   170    },
   171    "quobyte": {
   172      "registry": "registryValue",
   173      "volume": "volumeValue",
   174      "readOnly": true,
   175      "user": "userValue",
   176      "group": "groupValue",
   177      "tenant": "tenantValue"
   178    },
   179    "azureDisk": {
   180      "diskName": "diskNameValue",
   181      "diskURI": "diskURIValue",
   182      "cachingMode": "cachingModeValue",
   183      "fsType": "fsTypeValue",
   184      "readOnly": true,
   185      "kind": "kindValue"
   186    },
   187    "photonPersistentDisk": {
   188      "pdID": "pdIDValue",
   189      "fsType": "fsTypeValue"
   190    },
   191    "portworxVolume": {
   192      "volumeID": "volumeIDValue",
   193      "fsType": "fsTypeValue",
   194      "readOnly": true
   195    },
   196    "scaleIO": {
   197      "gateway": "gatewayValue",
   198      "system": "systemValue",
   199      "secretRef": {
   200        "name": "nameValue",
   201        "namespace": "namespaceValue"
   202      },
   203      "sslEnabled": true,
   204      "protectionDomain": "protectionDomainValue",
   205      "storagePool": "storagePoolValue",
   206      "storageMode": "storageModeValue",
   207      "volumeName": "volumeNameValue",
   208      "fsType": "fsTypeValue",
   209      "readOnly": true
   210    },
   211    "local": {
   212      "path": "pathValue",
   213      "fsType": "fsTypeValue"
   214    },
   215    "storageos": {
   216      "volumeName": "volumeNameValue",
   217      "volumeNamespace": "volumeNamespaceValue",
   218      "fsType": "fsTypeValue",
   219      "readOnly": true,
   220      "secretRef": {
   221        "kind": "kindValue",
   222        "namespace": "namespaceValue",
   223        "name": "nameValue",
   224        "uid": "uidValue",
   225        "apiVersion": "apiVersionValue",
   226        "resourceVersion": "resourceVersionValue",
   227        "fieldPath": "fieldPathValue"
   228      }
   229    },
   230    "csi": {
   231      "driver": "driverValue",
   232      "volumeHandle": "volumeHandleValue",
   233      "readOnly": true,
   234      "fsType": "fsTypeValue",
   235      "volumeAttributes": {
   236        "volumeAttributesKey": "volumeAttributesValue"
   237      },
   238      "controllerPublishSecretRef": {
   239        "name": "nameValue",
   240        "namespace": "namespaceValue"
   241      },
   242      "nodeStageSecretRef": {
   243        "name": "nameValue",
   244        "namespace": "namespaceValue"
   245      },
   246      "nodePublishSecretRef": {
   247        "name": "nameValue",
   248        "namespace": "namespaceValue"
   249      },
   250      "controllerExpandSecretRef": {
   251        "name": "nameValue",
   252        "namespace": "namespaceValue"
   253      },
   254      "nodeExpandSecretRef": {
   255        "name": "nameValue",
   256        "namespace": "namespaceValue"
   257      }
   258    },
   259    "accessModes": [
   260      "accessModesValue"
   261    ],
   262    "claimRef": {
   263      "kind": "kindValue",
   264      "namespace": "namespaceValue",
   265      "name": "nameValue",
   266      "uid": "uidValue",
   267      "apiVersion": "apiVersionValue",
   268      "resourceVersion": "resourceVersionValue",
   269      "fieldPath": "fieldPathValue"
   270    },
   271    "persistentVolumeReclaimPolicy": "persistentVolumeReclaimPolicyValue",
   272    "storageClassName": "storageClassNameValue",
   273    "mountOptions": [
   274      "mountOptionsValue"
   275    ],
   276    "volumeMode": "volumeModeValue",
   277    "nodeAffinity": {
   278      "required": {
   279        "nodeSelectorTerms": [
   280          {
   281            "matchExpressions": [
   282              {
   283                "key": "keyValue",
   284                "operator": "operatorValue",
   285                "values": [
   286                  "valuesValue"
   287                ]
   288              }
   289            ],
   290            "matchFields": [
   291              {
   292                "key": "keyValue",
   293                "operator": "operatorValue",
   294                "values": [
   295                  "valuesValue"
   296                ]
   297              }
   298            ]
   299          }
   300        ]
   301      }
   302    },
   303    "volumeAttributesClassName": "volumeAttributesClassNameValue"
   304  },
   305  "status": {
   306    "phase": "phaseValue",
   307    "message": "messageValue",
   308    "reason": "reasonValue",
   309    "lastPhaseTransitionTime": "2004-01-01T01:01:01Z"
   310  }
   311}

View as plain text